[R-sig-Geo] Variable point size with spplot

2012-03-26 Thread piero campa
Dear list, I used to plot points of variable size with spplot this way: library(RColorBrewer) data(meuse) coordinates(meuse) - ~x+y spplot(meuse, zcol=om, col.regions=colorRampPalette(brewer.pal(7, PuBu)[-(1:1)])(20), scales=list(draw=TRUE), cex=.4*(1:5) ) but now,

[R-sig-Geo] great circle distances

2012-03-26 Thread A.P.B. Carneiro
Hi I need to calculate the average nearest neighbor distance between nests coordinates (lat/long). However, I would like to use the great circle distances in spite or Euclidian distances. Is it possible to do this in ArcGis 10? Thank you for your attention, Ana -- PhD student

Re: [R-sig-Geo] Variable point size with spplot

2012-03-26 Thread Edzer Pebesma
On 03/26/2012 01:10 PM, piero campa wrote: Dear list, I used to plot points of variable size with spplot this way: library(RColorBrewer) data(meuse) coordinates(meuse) - ~x+y spplot(meuse, zcol=om, col.regions=colorRampPalette(brewer.pal(7, PuBu)[-(1:1)])(20),

Re: [R-sig-Geo] great circle distances

2012-03-26 Thread Sarah Goslee
Hi, On Mon, Mar 26, 2012 at 7:43 AM, A.P.B. Carneiro ap...@cam.ac.uk wrote: Hi I need to calculate the average nearest neighbor distance between nests coordinates (lat/long). However, I would like to use the great circle distances in spite or Euclidian distances. Is it possible to do this in

Re: [R-sig-Geo] Creating a spatial boundary using Lines() and SpatialLines()

2012-03-26 Thread Struve,Juliane
Dear Roger, Thank you for this helpful comment. The spatial boundary now works. However, when I submit it to KernelUD() using kernelUD(Movement_Spatial,h=href,grid=Raster_map,boundary=coastline) I get an error message Error in 3 * h : non-numeric argument to binary operator The boundary is