Hello 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-tp5588509p5588509.html
Sent from the Grass - Users mailing list archive at Nabble.com.
Maybe http://www.asdar-book.org/ can help you. Have a look in “Additional materials”.
Robbie
2010/9/30 Gabriele N. <gis.gn@libero.it>
Hello 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-tp5588509p5588509.html
Sent from the Grass - Users mailing list archive at Nabble.com.
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Thanks Robbie.
I try to take a look.
Gabriele
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/R-Moran-index-getis-e-ord-tp5588509p5599570.html
Sent from the Grass - Users mailing list archive at Nabble.com.