Re: [R-sig-Geo] Creating SpatialGridDataFrame - unequal number of objects

2011-05-28 Thread Terry Griffin
Terry Griffin, PhD tgrif...@uaex.edu 501.249.6360 -Original Message- From: Chris English Sent: Saturday, May 28, 2011 11:20 AM To: r-sig-geo@r-project.org Subject: [R-sig-Geo] Creating SpatialGridDataFrame - unequal number of objects Dear List: I have a SpatialGrid for which I am try

Re: [R-sig-Geo] Problem with the skater function in spdep

2011-05-28 Thread Yan Boulanger
Sorry, this was not the right code. Here' the good one: library(spdep) library(rgdal) ecodist_BC_pests <- readOGR(".", "ecodist_BC_pests_final")# ### data padronized ecodist_BC_pests_data <- data.frame(ecodist_BC_pests@data$fire, ecodist_BC_pests@data$bark_beetl,ecodist_BC_pests@data$conifer

[R-sig-Geo] Problem with the skater function in spdep

2011-05-28 Thread Yan Boulanger
Hi folks! I'm using the 'skater' function of the spdep package in order to regionalize the forest disturbance regime over British Columbia. I'm using this function since at least 7 months and didn't have any problem until today. Actually, when I run the skater function, R crashes any time I ad

[R-sig-Geo] Creating SpatialGridDataFrame - unequal number of objects

2011-05-28 Thread Chris English
Dear List: I have a SpatialGrid for which I am trying to make adata.frame and thence a SpatialGridDataFrame. I can't seem to get the size of data.frame and gridto match up.  I assume I'm missing something straight forward.  summary(grid1)Object of class SpatialGridCoordinates:  min    maxx 0.5

[R-sig-Geo] Creating SpatialGridDataFrame - unequal number of objects

2011-05-28 Thread Chris English
Dear List: I have a SpatialGrid for which I am trying to make adata.frame and thence a SpatialGridDataFrame. I can't seem to get the size of data.frame and gridto match up.  I assume I'm missing something straight forward.  summary(grid1)Object of class SpatialGridCoordinates:  min    maxx 0.5