detailed_growth: Calculate between-census annual growth

View source: R/detailed_growth.R

detailed_growthR Documentation

Calculate between-census annual growth

Description

Requires a data frame where separate measurements of the same tree appear in different rows and returns a data frame containing annual growth between each pair of consecutive measurements for each tree.

Usage

detailed_growth(data)

Arguments

data

A data frame containing repeated dbh measurements of trees. Must have a column named "tree_id" that contains unique tree ID values, a column named "year" containing the year of the measurement, and a column named "dbh" containing the dbh measurements. See built-in dataset tree for an example.

Value

A data frame containing between-census annual growth of each tree:

tree_id

unique identification code of the tree

start_year

first year of between-census period

begin_size

diameter at breast height at beginning of between-census period, in cm

end_year

last year of between-census period

end_size

diameter at breast height at end of between-census period, in cm

annual_growth

annual growth rate as average yearly increase in diameter at breast height, in cm/year

annual_bai

annual basal area increment as average yearly increase in area at breast height, in cm^2/year

size_corr_growth

square root of annual_growth divided by begin_size to give somewhat normally distributed growth rates

size_corr_growth_basal

square root of annual_bai divided by begin_size to give somewhat normally distributed growth rates

...

any other columns that appeared in data

Examples

detailed_growth(tree)

sgraham9319/ForestPlotR documentation built on April 15, 2022, 4:01 p.m.