getDhVol: get coarse wood volume of tree

Description Usage Arguments Details Value Examples

View source: R/getDhVol.R

Description

This function calculates the coarse wood volume of a tree given species, diameter and height. 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.

Usage

1
2
getDhVol(sp, d, h, H1 = 1.3, D2 = 0, H2 = 0, DHGrz = 7, HDHGrz = NULL,
  SekLng = 0.1, bark = TRUE)

Arguments

sp

species code from BDAT

d

diameter in breast height (dbh) from tree

h

height of tree

H1

height where d was measured; default is 1.3[m] for dbh

D2

diameter at second height H2; if D2 = 0 (default) taper form from the first german NFI ('Bundeswaldinventur I') are used

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

Details

Strictly speaking getDhVol is a wrapper function. It loads the fortran subroutine BDATVOLDHMR or BDATVOLDHOR (depending on whether or not bark is set to TRUE or FALSE) within a call of loadBDAT.

Value

volume with or without bark of given segment AB in cubic meter

Examples

1
getDhVol(sp=1, d=30, h=40, bark = T)

frumentum/rBDATPRO documentation built on May 28, 2019, 2:53 p.m.