Learn R Programming

dendrometry (version 0.0.4)

dbh: Diameter (DBH) and Circumference

Description

DBH computes diameter (at breast height) based on circumference (at breast height).
circum computes circumference (at breast height) based on diameter (at breast height).
They are based on circle diameter and perimeter formulas.

Usage

dbh(circum)

circum(dbh)

Value

dbh, returns diameter and circum, returns circumference.

Arguments

circum

numeric, vector of circumference.

dbh

numeric, vector of diameter.

See Also

See also height for tree height.

Examples

Run this code
perimeter <- seq(30, 60, 1.4)
diameter <- dbh(perimeter)
circum(diameter)

Run the code above in your browser using DataLab