[R] shaded area between a curve and a circle

2022-10-22 Thread L... L...
Dear, I have a picture in which I draw a circle over the standard normal curve. See below the lines used to draw the figure. The figure is ok, but my problem is: How to shade the areas A, B, C, D, E and F? I know I have to find the points of intersection but I don't know how to find them. Sugges

Re: [R] Opening shapefiles in R

2022-10-22 Thread Nick Wray
Hi Micha Thanks for your ideas which I will look into I hadn't heard of r-sig-geo before but I've signed up to it. I'm a bit of beginner as far as geospatial in R goes. What I am ultimately trying to do is this - my PhD research is into the relative proportions of the effects of climate change

Re: [R] Opening shapefiles in R

2022-10-22 Thread Micha Silver
Hello Nick: First: as Jeff pointed out, you'll probably have better luck posting to the r-sig-geo list. On 21/10/2022 14:25, Nick Wray wrote: Hello I have managed to download and plot the outline for the River Tweed In the Sottish borders) catchment using this code. 21009 is a zipfile do

[R] fitting gam with constraints on parameters in mgcv

2022-10-22 Thread Chris Wilcox
Hi all, I am trying to fit a gam using mgcv which has a mix of smooth and parametric terms. The model is for some count data on fish catches. I am modelling variation in location and time, but also differences among individual operators. I am interested in the differences in operators specif