patchdistr_spews-deprecated: (DEFUNCT) Early-warning signals based on patch size...

patchdistr_spewsR Documentation

(DEFUNCT) Early-warning signals based on patch size distributions

Description

Compute early-warnings based on patch size distributions and review/plot the results

Usage

patchdistr_spews(
  x,
  merge = FALSE,
  fit_lnorm = FALSE,
  best_by = "BIC",
  xmin = 1,
  xmin_bounds = NULL,
  wrap = FALSE
)

Arguments

x

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

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

When patch size distributions are compared, should we consider lognormal type ? (see details)

best_by

The criterion to use to select the best fit (one of "AIC", "BIC" or "AICc")

xmin

The xmin to be used to fit the patch size distributions. Use the special value "estimate" to compute first the xmin that produces the best power-law fit, then use this estimated value to fit all distributions.

xmin_bounds

Bounds when estimating the xmin for power-law distributions

wrap

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

Details

patchdistr_spews has been renamed, please use patchdistr_sews instead.


spatialwarnings documentation built on March 21, 2022, 5:08 p.m.