powered by
Calculate sapwood area based on diameter, heartwood diameter and sapwood fraction
SpWd_Area_calc(diam, SpWd_frac = 1, HtWd_diam = 0)
Vector with diameter.
Numerical (from 0 to 1). Indicate the fraction of the diameter which is sapwood
Vector with diameter of the heartwood.
Return a numerical vector containing the sapwood area
If SpWD_frac and HtWd_diam are both entered, the function will return an error. Units of "diam" and "HtWd_diam" should be the same.
# NOT RUN { diam = c(12,14,16,13,15) SpWd_Area_calc(diam=diam, SpWd_frac=0.2) # }
Run the code above in your browser using DataLab