[R] Spatial Autocorrelation

Corey Sparks corey.sparks at utsa.edu
Tue Oct 6 15:37:33 CEST 2009


Hi Paulo,
if your data are distance matrices, you might consider doing a Mantel test,
look at the mantel() function in package vegan.  While this is not
technically measuring spatial autocorrelation, it will test for correlation
between the attribute distances and the geographic distances.  Also, if you
can coax your data back into a point shapefile (for example), you can use
the tools in the spdep package which will measure actual spatial
autocorrelation (such as Moran's I and Geary's C). 
Best,
Corey


silcha wrote:
> 
> Hi Paulo,
> you may want to take a look at
> 
> http://cran.r-project.org/web/views/Spatial.html
> 
> there, you can find all "spatial" packages that 
> can be useful for your question.
> There is also a  a mailing list R-sig-geo that where 
> you can ask all those kind of question.
> 
> Hope that this helps.
> 
> Cheers
> 
> Anna
> 
> 
> 
> Anna Freni Sterrantino
> Ph.D Student 
> Department of Statistics
> University of Bologna, Italy
> via Belle Arti 41, 40124 BO.
> 
> 
> 
> 
> ________________________________
> Da: P.Branco <pjlbranco at yahoo.com>
> A: r-help at r-project.org
> Inviato: Martedì 6 ottobre 2009, 13:28:36
> Oggetto: [R]  Spatial Autocorrelation
> 
> 
> Hello, 
> 
> I have a matrix with the distances among sites. And I have another matrix
> with the presence and absence of  each species in each site. I would like
> to
> test the spatial autocorrelation among sites.
> 
> I have tried to use the function gearymoran of the ade4 package, but error
> messages keep popping up. Do you know any function for me to test the
> spatial autocorrelation of my data?
> 
> Thanks,
> 
> Paulo Branco
> -- 
> View this message in context:
> http://www.nabble.com/Spatial-Autocorrelation-tp25767010p25767010.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 
> __________________________________________________
> 
> 
> spazio gratuito per i tuoi file e i messaggi 
> 
> 	[[alternative HTML version deleted]]
> 
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 

-- 
View this message in context: http://www.nabble.com/Spatial-Autocorrelation-tp25767010p25768890.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list