defol: Constructor for S3 defol class

View source: R/utils.R

defolR Documentation

Constructor for S3 defol class

Description

Constructor for S3 defol class

Usage

defol(year, series, gsi, ngsi, defol_status)

Arguments

year

An n-length integer vector of observation years

series

An n-length factor or character vector of series names

gsi

An n-length numeric vector of growth suppression index, such as calculated by gsi()

ngsi

An n-length numeric vector of normalized gsi, such as calculated by gsi().

defol_status

An n-length factor or character vector denoting the defoliation event status of each year. This uses a controlled vocabulary, see dfoliatR:::make_defol_status for possible values.

Value

a tree-level defol object


dfoliatR documentation built on Aug. 10, 2023, 1:08 a.m.