defol {dfoliatR}R 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


[Package dfoliatR version 0.3.0 Index]