singleStem: Calculate dbh for a tree with multiple stems

Description Usage Arguments Value Details Examples

Description

Functions to estimate a single dbh from a multiple stem tree or shrub.

Usage

1
singleStem(plotdata, tag = "tag", dbh = "dbh", mscale = c("mm", "cm"))

Arguments

plotdata

a data frame with a forest plot census data.

tag

a character string with the name of the variable unique for each tree.

dbh

a character string with the name of the variable with the diameter of the trees

mscale

a character indicating the mesured scale (mm or cm).

Value

a data frame with the same columns as plotdata plus a 'dbh.cm' column.

Details

Calculate the sum of basal areas for multiple stem tree and them return the dbh associated with the sum of basala area.

Examples

1
2
3
4
5
## Not run: 
data(bci7)
plotData <- singleStem(bci7, mscale= "mm")

## End(Not run)

adalardo/samplePlotR documentation built on May 31, 2019, 10:46 p.m.