patchdistr_spews_plot: Early-warning signals based on patch size distributions

Description Usage Arguments Details See Also Examples

Description

Plot early-warning signals based on patch size distributions

Usage

1
2
3
4
## S3 method for class 'patchdistr_spews'
plot(x, along = NULL, ...)

plot_distr(x, along = NULL, best_only = TRUE, plrange = TRUE)

Arguments

x

An object as produced by spectral_spews

along

A vector providing values over which the indicator trend will be plotted. If NULL then the values are plotted sequentially in their original order.

...

Further arguments passed to methods

best_only

Plot only the best fit the empirical (inverse cumulative) patch-size distribution with an overlay of the estimated fits.

plrange

Plot the power-law range

Details

The plot function will produce a complex figure summarizing the change in patch size distributions along a set of values. The figure has two panels:

The plot_spectrum function displays each distribution in an individual facet, with an overlay of the best distribution fit and a blue bar showing the power-law range. This mode of representation can be cumbersome when working with a high number of matrices but displays the full shape of the distributions.

See Also

patchdistr_spews

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run:  
data(forestgap)
psd_indic <- patchdistr_spews(forestgap)

plot(psd_indic, along = forestgap.pars[ ,"d"]) 

# When along is non-numeric, bars are used for display
plot(psd_indic, along = as.factor(forestgap.pars[ ,"d"]))

# Display individual distributions
plot_distr(psd_indic, along = forestgap.pars[ ,"d"])

## End(Not run)

spatialwarnings documentation built on Jan. 27, 2018, 3:01 a.m.