res.plot: Plot resilience indices

View source: R/res.plot.R

res.plotR Documentation

Plot resilience indices

Description

The function creates box plots for selected years of the resilience indices as calculated by res.comp, and is intended for quick visualization.

Usage

res.plot(list.name, select.yr = NULL,
         param = c("resist", "recov", "resil", "rel.resil",
                   "rec.period", "avg.rec.rate",
                   "tot.abs.grow.red", "tot.rel.grow.red",
                   "avg.abs.grow.red", "avg.rel.grow.red"))

Arguments

list.name

a list as produced by res.comp.

select.yr

an integer or vector specifying the year(s) to be plotted (e.g., c(1948, 1992)).

param

a character string specifying the resilience index to be plotted. Argument matching is performed.

Details

The function creates a box plot for a selected resilience index showing the full range of variation for individual trees in specific years. Box plots are only created for years for which indices are available for >= 5 series, as this value represents the number of statistics that a box plot represents in its' simplest form.

Value

Box plot.

Author(s)

Marieke van der Maaten-Theunissen and Ernst van der Maaten.

Examples

## Plot the recovery period for three selected years
data(s033)
res <- res.comp(s033)
res.plot(res, select.yr = c(1976, 1992, 2003), param = "resist")


pointRes documentation built on May 8, 2022, 1:05 a.m.