[GRASS-stats] R, Moran index, getis e ord.....
Gabriele N.
gis.gn at libero.it
Thu Oct 7 06:53:35 EDT 2010
Hy everyone.
I have a raster which is the result of calculating an index of remote
sensing (with decimals).
I would like to calculate the Moran's index and the index of Getis and Ord
To do this I installed R (following
http://grass.fbk.eu/statsgrass/grass6_r_install.html).
Then I installed the packages
install.packages("spdep",dependencies=TRUE)
install.packages("maptools",dependencies=TRUE)
Then from the shell:
R
Then load these libraries
library(spgrass6)
library(spdep)
library(maptools)
library(boot)
library(Matrix)
library(lattice)
I read the raster
index_water_2009<-readRAST6("index_water_2009")
At this point I stopped. I saw on the mailing list and some tutorials.
I can not understand the syntax to use.
It only works on vector?
Someone can give me some help?
Thanks
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/R-Moran-index-getis-e-ord-tp5610836p5610836.html
Sent from the Grass - Stats mailing list archive at Nabble.com.
More information about the grass-stats
mailing list