Learn R Programming

dfoliatR (version 0.3.0)

plot_defol: Produce a Gantt plot of individual tree-ring series to show defoliation events in time

Description

Produce a Gantt plot of individual tree-ring series to show defoliation events in time

Usage

plot_defol(x, breaks)

Arguments

x

a defol object produced by defoliate_trees().

breaks

a vector length two providing threshold (negative) ngsi values to separate minor, moderate, and severe defoliation events. If blank, the mean and 1st quartile are used.

Examples

Run this code
data("dmj_defol")
plot_defol(dmj_defol)

## Change the values severity classes
plot_defol(dmj_defol, breaks = c(-1.0, -0.5))

Run the code above in your browser using DataLab