outbreak_stats | R Documentation |
Summary statistics for inferred outbreaks
outbreak_stats(x)
x |
An obr object after running |
A data frame with descriptive statistics for each outbreak event
determined by outbreak()
, including:
"start" – first year of outbreak
"end" – last year of outbreak
"duration" – length of outbreak (in years)
"n_df_start" – number of trees defoliated at the start
"perc_df_start" – percent of trees defoliated at the start
"max_df_obr" – maximum number of trees in the outbreak during a single year
"yr_max_df" – year with the maximum number of trees defoliated
"yr_min_ngsi" – year with the lowest mean normalized growth suppression index (NGSI)
"min_gsi" – minimum growth suppression index
"min_ngsi" – minimum normalized gsi
Certain statistics will be set to NA
for the final
outbreak event if there was an ongoing defoliation event (in which
series_end_event = TRUE
in defoliate_trees()
). This is because the end
of the outbreak remains unknown, so statistics such as duration cannot be
calculated. Statistics pertaining to the start of the event are provided.
data("dmj_obr")
outbreak_stats(dmj_obr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.