Re: [R-sig-Geo] STIDF subsetting problem

2013-06-17 Thread scizmeli
Thanks for your interest, and timely fix, Edzer. Do you also think that some modifications can be done in the way STFDF and STSDF are subsetted? I understand that they are different than STIDF as length(rural@sp)!=nrow(rural@data) Servet -- View this message in context:

Re: [R-sig-Geo] STIDF subsetting problem

2013-06-17 Thread Edzer Pebesma
I don't know what you would like to modify: library(spacetime) Loading required package: sp data(air) class(rural) [1] STFDF attr(,package) [1] spacetime dim(rural) space time variables 70 4383 1 dim(rural[c(1,1:10),]) space time variables 11

Re: [R-sig-Geo] plotting counties of two states

2013-06-17 Thread Sarah Goslee
Hi, Since you sent me your data (I'd still prefer dput() and you should use that in the future so you can send your data to the list): I don't see how your problem has anything to do with YNP. See below. On Mon, Jun 17, 2013 at 9:18 AM, Milan Sharma milansharma2...@yahoo.com wrote: Could you

[R-sig-Geo] Create a mask with 1 deg latitudinal bands

2013-06-17 Thread ppanday
Hi, I am trying to create a mask within a specified extent [ext - extent(-58,-48,-17,-2)] that has 1 degree latitudinal band masks. So every 1 degree is a different number category. Eventually, I want to use it in zonal (as a mask) to obtain zonal statistics. I have a way that is a bit roundabout

[R-sig-Geo] Anova between GLM and Spatial Eigenvector GLM

2013-06-17 Thread Rodrigo Tardin
Dear list, Recently I used a Spatial Eigenvector Generalized Linear Model (SEVM-GLM) to understand whales distribution in Rio de Janeiro in spdep package and when I compared the SEVM-GLM with a normal GLM (as the example in page118 indicated) I had no differences (p0.05) between them. What

Re: [R-sig-Geo] Lat Long -- UTM again

2013-06-17 Thread Joana Ruela Boavida
Hi Moshood Agba, thank you for the quick reply. i get the following message: Error: unexpected '=' in UTM - spTransform(LatLong, CRS(+proj=utm +zone=29 +ellps=WGS84 +datum=WGS84 +units= i noticed that difference in the result when using the espg information in the code but i don't know what