ttBasalArea: Basal area of a tree given its diameter

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Basal area is computed as g = π * \frac{d^2}{4}

Usage

1
  ttBasalArea(treeDbh)

Arguments

treeDbh

a single tree diameter or vector of tree diameters

Details

The function is vectorized, accepts a single value or a vector of values. No conversion between measuring units is carried out (ie cm in, cm^2 out, or m in, m^2 out)

Value

a single value of a vector of values

Author(s)

Marco Bascietto marco.bascietto@ibaf.cnr.it

See Also

Other structuralAnalysis: pfExpand, rfBasalArea, rfTreeDensity, tpBasalArea, ttMeanDbh

Examples

1
2
3
# dbh from an ideal even-aged forest, in cm
dbhList <- runif(10, min = 30, max = 40)
data.frame(dbh = dbhList, g = ttBasalArea(dbhList))

mbask/forestry documentation built on May 21, 2019, 2:25 p.m.