View source: R/task_generic_indic.R
raw_cg_moran | R Documentation |
This functions computes the Moran's spatial correlation index (with lag one) on a matrix.
raw_cg_moran(mat, subsize = 1)
mat |
A matrix |
subsize |
logical. Dimension of the submatrix used to coarse-grain the original matrix (set to 1 for no coarse-graining). |
The Moran's I index measuring autocorrelation at lag 1 as a named vector
Dakos, V., van Nes, E. H., Donangelo, R., Fort, H., & Scheffer, M. (2010). Spatial correlation as leading indicator of catastrophic shifts. Theoretical Ecology, 3(3), 163-174.
Legendre, P., & Legendre, L. F. J. (2012). Numerical Ecology. Elsevier Science.
generic_sews
data(serengeti)
raw_cg_moran(serengeti[[1]], subsize = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.