Re: [R-sig-Geo] variogram using gstat

2008-05-08 Thread Edzer Pebesma
I don't know of any general guidelines here. I would settle with a reasonable number of point pairs (preferably over 20) per lag. -- Edzer PUJAN RAJ REGMI wrote: Dear sir, Thank you very much for the help. I would like to ask another question regarding the "width" selection. For omni direction

Re: [R-sig-Geo] spgpc

2008-05-08 Thread Mihai Nica
I understand, thanks mihai - Original Message From: Roger Bivand <[EMAIL PROTECTED]> To: Mihai Nica <[EMAIL PROTECTED]> Cc: R_GEO Sent: Thursday, May 8, 2008 2:47:48 PM Subject: Re: [R-sig-Geo] spgpc On Thu, 8 May 2008, Mihai Nica wrote: > Greetings: > > I used to merge a SpatialP

Re: [R-sig-Geo] spgpc

2008-05-08 Thread Roger Bivand
On Thu, 8 May 2008, Mihai Nica wrote: Greetings: I used to merge a SpatialPolygonsDataFrame with another dataframe with the following code (thanks to Dr. Bivand): library(maptools) library(spgpc) The

[R-sig-Geo] spgpc

2008-05-08 Thread Mihai Nica
Greetings: I used to merge a SpatialPolygonsDataFrame with another dataframe with the following code (thanks to Dr. Bivand): library(maptools) library(spgpc) county <- readShapePoly("contUScty2000.shp", I

Re: [R-sig-Geo] variogram using gstat

2008-05-08 Thread PUJAN RAJ REGMI
Dear sir, Thank you very much for the help. I would like to ask another question regarding the "width" selection. For omni directional which width should I choose in case when data set are in grid pattern?(in my case 12m in each x and y dir. i.e. 16.97m in diagonal) I saw selectiong different w

Re: [R-sig-Geo] Converting spatialPointsDataFrame into ppp

2008-05-08 Thread Marcelino de la Cruz
From the help of as.ppp {maptools} data(meuse) > class(meuse) [1] "SpatialPointsDataFrame" attr(,"package") [1] "sp" coordinates(meuse) = ~x+y zn1 <- as(meuse["zinc"], "ppp") zn1 And then try this: Kest(zn1) Regards, Marcelino At 10:44 08/05/2008, Agustin Lobo wrote: Hi! Is it possib

[R-sig-Geo] Converting spatialPointsDataFrame into ppp

2008-05-08 Thread Agustin Lobo
Hi! Is it possible (and if yes, how) to convert from an spatialPointsDataFrame to a ppp object (selecting the appropriate variable in the dataframe) so that I can run Kest ? I've tried with as.ppp with no success. (I always have a bad time converting among the different spatial objects in R, I p