Calculate the sample depth of a defol object

sample_depth(x)

Arguments

x

A defol object.

Value

A data.frame containing the years and number of trees

Examples

data("dmj_defol") head(sample_depth(dmj_defol))
#> year samp_depth #> 1 1675 2 #> 2 1676 2 #> 3 1677 2 #> 4 1678 2 #> 5 1679 2 #> 6 1680 3