Re: [R-sig-Geo] using rasterize SOLVED

2012-12-28 Thread Hodgess, Erin
Sorry to cause trouble...I figured it out From: r-sig-geo-boun...@r-project.org [r-sig-geo-boun...@r-project.org] on behalf of Hodgess, Erin Sent: Saturday, December 29, 2012 12:29 AM To: r-sig-geo@r-project.org Subject: [R-sig-Geo] using rasterize Hello a

[R-sig-Geo] using rasterize

2012-12-28 Thread Hodgess, Erin
Hello again: I'm trying to rasterize a spatial points data frame and I seem to be missing something, as seen below: > str(loc3) Formal class 'SpatialPointsDataFrame' [package "sp"] with 5 slots ..@ data :'data.frame':477 obs. of 6 variables: .. ..$ ID : num [1:477] 1 2 3 5

Re: [R-sig-Geo] calculating a variogram/semi-variogram

2012-12-28 Thread Hodgess, Erin
thanks for your help. I need to read more stuff...I'm confused on how it selects the numbers of pairs, for instance. thanks, Erin From: romu...@gmail.com [romu...@gmail.com] on behalf of Roman Luštrik [roman.lust...@gmail.com] Sent: Friday, December 28, 2012 5:

Re: [R-sig-Geo] calculating a variogram/semi-variogram

2012-12-28 Thread Roman Luštrik
Dear Erin, if you load package `gstat`, there's an example in function `variogram`. Is this sufficient? Cheers, Roman On Sat, Dec 29, 2012 at 12:30 AM, Hodgess, Erin wrote: > Hello Everyone! > > Happy New Year (a bit early)! > > I have a question about calculating a variogram or semi-variogr

[R-sig-Geo] calculating a variogram/semi-variogram

2012-12-28 Thread Hodgess, Erin
Hello Everyone! Happy New Year (a bit early)! I have a question about calculating a variogram or semi-variogram, please: does anyone have a toy example of how this is done, please? (I like to see actual numbers from the start). Thanks so much in advance, Sincerely, Erin [[alternati

[R-sig-Geo] Raster processing, pop density estimation and more

2012-12-28 Thread Luciano La Sala
Dear r-sig-geo people, I have a raster image of human population counts; a LandScan grid at a resolution of 1 km where each pixel's value represents population number, which I am processing using Quantum GIS and GRASS the modules inside of it. Using R, I need to: 1) Take each cell of the rast

Re: [R-sig-Geo] Is GWR in ggwr function with poisson distribiution the same as Geographically Weighted Poisson Regression (GWPR) disused by Nakaya 2005

2012-12-28 Thread Roger Bivand
On Fri, 28 Dec 2012, Roosbeh Nowrouzian wrote: Dear list members: I am wondering if Geographically weighted Regression(GWR) applied in Generalized Linear Models(GLM) framework with defined family="poisson" in ggwr.sel and ggwr functions is the same as Geographically Weighted Poisson Regression

Re: [R-sig-Geo] raster extraction

2012-12-28 Thread Roman Luštrik
If you look at the raster package vignette ( http://cran.r-project.org/web/packages/raster/vignettes/Raster.pdf), you will notice a few functions suitable for tasks you're trying to achieve. For example, if you want to work on layers in RasterBrick object, you could try stackApply(). You could also