indicator_moran: (DEFUNCT) Moran's Index at lag of 1

Description Usage Arguments Value References Examples

View source: R/deprecation.R

Description

This functions computes the Moran's spatial correlation index (with lag one). It also computes a null value obtained by randomizing the matrix.

Usage

1
indicator_moran(input, subsize = 1, nulln = 99)

Arguments

input

An matrix or a list of matrix object. It should be a square matrix

subsize

logical. Dimension of the submatrix used to coarse-grain the original matrix (set to 1 for no coarse-graining).

nulln

Number of replicates to produce to estimate null distribution of index (default: 999).

Value

A list (or a list of those if input is a list of matrix object) of:

If nulln is above 2, then the list has the following additional components :

References

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.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
data(serengeti)

# One matrix
indicator_moran(serengeti[[1]])

# Several matrices
indicator_moran(serengeti)

## End(Not run)

spatialwarnings documentation built on May 20, 2021, 1:06 a.m.