search for: wooddens

Displaying 1 result from an estimated 1 matches for "wooddens".

2007 Oct 26
1
Help needed on calculation of Moran's I
...of 1. I have used the following code: >attach(lowland) >coords <- as.matrix(cbind(long, $lat)) >coord.nb <- dnearneigh(coords, 0, 10000 longlat=TRUE) >coord.list <- nb2listw(coord.nb, style="W") >lianasp.lm <- lm(lianasprich ~ log(averdist) + dsl + lianadens + wooddens) >lm.morantest(lianasp.lm, coord.list, alternative="two.sided") And get the following result Global Moran's I for regression residuals data: model: lm(formula = lianasprich ~ log(averdist) + dsl + lianadens + wooddens) weights: coord.list Moran I statistic standard d...