add_stand_variables {MLFS}R Documentation

add_stand_variables

Description

This function adds two variables to existing data frame of individual tree measurements: 1) stand basal area and 2) the number of trees per hectare

Usage

add_stand_variables(df)

Arguments

df

a data frame with individual tree measurements that include basal area and the upscale factors. All trees should also be described with plotID and year variables

Value

a data frame with added stand variables: total stand basal area and the number of trees per hectare

Examples

data(data_v1)
data_v1 <- add_stand_variables(df = data_v1)


[Package MLFS version 0.4.2 Index]