| defoliate_trees {dfoliatR} | R Documentation |
Identify defoliation events in host trees
Description
defoliate_trees() is the starting point for most analyses of insect
defoliation signals preserved in the growth patterns of trees. It requires
individual-tree standardized measurements from potential host trees and a
tree-ring chronology from a nearby non-host species. First,
defoliate_trees() combines these tree-ring indices by calling gsi() to
perform a "correction" of the host-tree indices to remove the climatic
influences on tree growth as represented by the non-host chronology. This
should isolate a disturbance-related signal. Second, defoliate_trees(), runs
id_defoliation(), which completes a runs analyses to evaluate sequences of
negative departures in the host tree growth series (ngsi) for potential
defoliation events.
Usage
defoliate_trees(
host_tree,
nonhost_chron = NULL,
duration_years = 8,
max_reduction = -1.28,
bridge_events = FALSE,
series_end_event = FALSE,
list_output = FALSE
)
Arguments
host_tree |
A |
nonhost_chron |
A |
duration_years |
The minimum length of time in which the tree is considered to be in defoliation. |
max_reduction |
The minimum value of |
bridge_events |
Binary, defaults to |
series_end_event |
Binary, defaults to |
list_output |
Defaults to |
Value
By default this returns a long-form data frame of tree-level growth
suppression indices and identified defoliation events. If list_output = TRUE, it returns a list object with each element containing a data.frame
rwl object of the host and non-host series, plus the outputs from gsi().
The list object is useful for assessing the effects of running gsi() on
the host and nonhost data.
Note
Other functions in dfoliatR, like outbreak() and plot_defol(),
require a long-form data frame identifiable as a defol() object. Selecting
list_output = TRUE will trigger errors in running other functions.
Examples
# Load host and non-host data
data("dmj_h") # Host trees
data("dmj_nh") # Non-host chronology
dmj_defol <- defoliate_trees(dmj_h, dmj_nh)