id_defoliation.RdAfter calculating the growth suppression index in gsi(), id_defoliation()
performs a runs analysis on the normalized growth suppression index, or
ngsi, in which sequences of negative departures are assessed as possible
defoliation events. id_defoliation() is the workhorse for
defoliate_trees(), performing much of the necessary criteria evaluation
used in OUTBREAK. The defaults for most parameters originate from OUTBREAK.
Two new features distinguish the dfoliatR version: bridging events that
occur in close sequence and allowing for the recent end of a series to be
evaluated for defoliation regardless of the event duration. See parameter
specifics for details.
id_defoliation(input_series, duration_years = 8, max_reduction = -1.28, bridge_events = FALSE, series_end_event = FALSE)
| input_series | A data frame with 5 columns, as generated by |
|---|---|
| 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 |
After performing runs analyses, the function adds a column to the input data frame that distinguishes years of defoliation and the maximum defoliation year (ie. the year the greatest negative growth departure within the event).
id_defoliation() is called by defoliate_trees(). It might only be
used by the user for troubleshooting.