Description Usage Arguments Details Value Examples
This function calculates the volume of a tree segment given species, diameter, height, beginning and end height of the segment. One can choose if bark should be included or excluded via the boolean parameter bark, which will include bark if it is set to TRUE.
1 2 |
sp |
species code from BDAT |
d |
diameter in breast height (dbh) from tree |
h |
height of tree |
A |
lower height A of segment AB for which volume is required |
B |
upper height B of segment AB for which volume is required |
H1 |
height where |
D2 |
diameter at second height |
H2 |
measuring height of D2, default is 0 |
bark |
boolean, if TRUE volume including bark is calculated (default) |
SegLen |
segment length for calculating the volume |
Strictly speaking getSegVol
is a wrapper function. It loads the fortran
subroutine BDATVOLABMR
or BDATDVOLABOR
(depending on whether or
not bark is set to TRUE or FALSE) within a call of loadBDAT
.
volume with or without bark of given segment AB in cubic meter
1 | getSegVol(sp=1, d=30, h=40, bark = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.