Re: [R-sig-Geo] SpatialPoints, SpatialGrid and related terminology

2012-07-03 Thread Giuseppe Calamita
Ciao Gabriele, you can find a shorter yet very useful descriptions of how spatial classes work in one of the vignettes of the sp-package. To visualize that, simply write on R terminal > vignette("intro_sp") this will open a pdf. You can also download it directly from http://cran.r-project.org/w

Re: [R-sig-Geo] Compute Local Moran using Matrix Algebra

2012-07-03 Thread Roger Bivand
On Mon, 2 Jul 2012, riaarinda wrote: I am currently trying to compute local moran's (LISA) using matrix algebra. I have already get the Ii and E(Ii) values (the result is correctly the same with Geoda's), but now still confused about getting the Var.Ii, Z.Ii, and Pr(z > 0). I am still confused a

[R-sig-Geo] adehabitat in R

2012-07-03 Thread carolang
Hi everybody, I write to ask if anyone has an R code to calculate ENFA analyses with data from a matrix. Any help with R code would be highly appreciated. Carolina Lang Chile -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/adehabitat-in-R-tp7580377.html Sent from the R

[R-sig-Geo] randomly changing raster pixels

2012-07-03 Thread Frederico Mestre
Hello: I've got a raster generated with the raster package. I want to randomly change the value of pixels of a given value. For example, I want to select 25% of the pixels with value 2, changing its value to 3. Any ideas? Frederico [[alternative HTML version deleted]] _

Re: [R-sig-Geo] randomly changing raster pixels

2012-07-03 Thread Barry Rowlingson
On Tue, Jul 3, 2012 at 7:09 PM, Frederico Mestre wrote: > Hello: > > > > I've got a raster generated with the raster package. I want to randomly > change the value of pixels of a given value. > > > > For example, I want to select 25% of the pixels with value 2, changing its > value to 3. > > > >