search for: aldist

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

Did you mean: adist
2009 Jan 07
1
troubles performing Moran.I test
...ran.I test as suggested on http://www.ats.ucla.edu/stat/r/faq/morans_i.htm my spatial data are longitude and lattitide of communities. The calculation of the inverse distance matrix according to the homepage (using my data) datAL <- read.csv2("C:\\Konvergenz AL.csv", header=T) ALdist <- as.matrix(dist(cbind(datAL$L?nge, datAL$Breite))) ALdist.inv <- 1/ALdist for (i in 1:dim(ALdist)[1]){ALdist.inv[i,i]=0} seems to work since the first 10 elements of my matrix look like this: 1 2 3 4 5 1 0.00000000 0.06201737 0.06041221 0.03...