sample_depth.Rd
Calculate the sample depth of a defol object
sample_depth(x)
A defol object.
defol
A data.frame containing the years and number of trees
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