Learn R Programming

spatialwarnings (version 1.2)

indictest: Significance-assessment of spatial early-warning signals

Description

Assess the significance of spatial early-warning values

Usage

indictest(x, nperm = 999, ...)

Arguments

x

A spatial warning object such as one produced by the *_sews function family

nperm

The number of permutations to carry out to produce the null distribution

...

Additional arguments passed to methods

Value

An object of class *_sews_test depending on the input object (actually, a data.frame)

Details

The significance of many early-warning signals can be estimated by reshuffling the original matrix. Indicators are then recomputed on the shuffled matrices and the values obtained are used as a null distribution. P-values are obtained based on the rank of the observered value in the null distribution.

References

Kefi, S., Guttal, V., Brock, W.A., Carpenter, S.R., Ellison, A.M., Livina, V.N., et al. (2014). Early Warning Signals of Ecological Transitions: Methods for Spatial Patterns. PLoS ONE, 9, e92097

See Also

generic_sews, spectral_sews