indicator_psdtype: Change in patch-size distributions types

Description Usage Arguments Details Value References See Also Examples

View source: R/indicator_psdtype.R

Description

This functions fits different patch size distributions types (power-law, longnormal, exponential and truncated power-law) to the patches contained in a matrix. The distributions are returned with their corresponding AIC, BIC and AICc to select the best fit.

Usage

1
2
indicator_psdtype(x, xmin = 1, merge = FALSE, fit_lnorm = FALSE,
  xmin_bounds = NULL, best_by = "AIC", wrap = FALSE)

Arguments

x

A logical (TRUE/FALSE values) matrix or a list of these.

xmin

The xmin to be used to fit the patch size distributions. Use the special values "estimate" to use an estimated xmin for each fit

merge

The default behavior is to produce indicators values for each matrix. If this parameter is set to TRUE then the patch size distributions are pooled together for fitting.

fit_lnorm

Fit also a log-normal distribution

xmin_bounds

Restrict the possible xmins in this range (defaults to the whole range of observed patch sizes)

best_by

The criterion used to select the best distribution type (one of "AIC", "BIC" or "AICc").

wrap

Determines whether patches are considered to wrap around the matrix when reaching the side

Details

Patterned ecosystems can exhibit a change in their spatial structure as they become more and more stressed. It has been suggested that this should be reflected in changes in the observed patch size distributions (PSD). The following sequence is expected to occur (Kefi et al. 2011) as patterned ecosystems become more and more degraded:

- Percolation of vegetation patches occurs (a patch has a width or height equal to the size of the system)

- The patch-size distribution follows a power-law

- The patch-size distribution deviates from a power-law as larger patches break down

- The patch-size distribution is closer to an exponential distribution

This indicator fits the observed patch size distribution based on maximum-likelihood (following Clauset et al. 2009 recommendations), then select the best model using AIC, BIC (default) or AICc.

Value

A data.frame (or a list of these if x is a list) with the following columns:

References

Kefi, S., Rietkerk, M., Roy, M., Franc, A., de Ruiter, P.C. & Pascual, M. (2011). Robust scaling in ecosystems and the meltdown of patch size distributions before extinction: Patch size distributions towards extinction. Ecology Letters, 14, 29-35.

Kefi, S., Rietkerk, M., Alados, C.L., Pueyo, Y., Papanastasis, V.P., ElAich, A., et al. (2007). Spatial vegetation patterns and imminent desertification in Mediterranean arid ecosystems. Nature, 449, 213-217.

Clauset, A., Shalizi, C. R., & Newman, M. E. (2009). Power-law distributions in empirical data. SIAM review, 51(4), 661-703.

See Also

patchdistr_spews

patchdistr_spews

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(forestgap)

# One logical matrix only
indicator_psdtype(forestgap[1])

# A list of these matrices
## Not run:  
indicator_psdtype(forestgap)

## End(Not run)

spatialwarnings documentation built on May 2, 2019, 5:16 p.m.