[R] Plot Moran's I

From: Chloe ARCHINARD <Chloe.ARCHINARD_at_cefe.cnrs.fr>
Date: Tue 29 Mar 2005 - 19:57:25 EST

Hello all,
I'm a new user of R and I have used the spdep package to calculate Moran's I estimates. I used the dnearneigh() function and moran.test() function and obtained what I wanted, but now I want to plot my results with the p-values. I regrouped my results for the Moran's I like
>m=c(m1$e,m2$e...) #m1 contain the results of the moran.test for lag1

The problem is that in mx$e there are three values (moran'I statistic, expectation and variance) and when I plot my results I plot all the three values for each lag. What should I do to choose only the statistic for plotting and maybe the variance for each I statistic? (For the p-value it's ok I have found how to differentiate the significant and non significant values.) I hope someone understand my question and could help me! Thanks a lot.

Centre d'Ecologie Fonctionnelle et Evolutive (C.N.R.S.-U.M.R. 5175)
1919, Route de Mende
34293 Montpellier Cedex 5 France

passerelle antivirus du campus CNRS de Montpellier

	[[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Mar 29 20:04:55 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:56 EST