Compute early-warnings based on patch size distributions and review/plot the results
patchdistr_spews(x, merge = FALSE, fit_lnorm = FALSE, best_by = "BIC",
xmin = 1, xmin_bounds = NULL, wrap = FALSE)
A logical matrix (TRUE/FALSE values) or a list of these
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.
When patch size distributions are compared, should we consider lognormal type ? (see details)
The criterion to use to select the best fit (one of "AIC", "BIC" or "AICc")
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.
Bounds when estimating the xmin for power-law distributions
Determines whether patches are considered to wrap around the matrix when reaching the side
patchdistr_spews
has been renamed, please use
patchdistr_sews
instead.