getH: get height of given diameter inside tree taper w/ or w/o bark

Description Usage Arguments Details Value Examples

View source: R/getH.R

Description

This function calculates the height of a given diameter inside for a given tree of dimensions (dbh, h).

Usage

1
getH(sp, d, h, dx, H1 = 1.3, D2 = 0, H2 = 0)

Arguments

sp

species code from BDAT

d

diameter in breast height (dbh) of tree

h

height of tree

dx

diameter for which height is required

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 NFI ('Bundeswaldinventur I') is used

H2

according to D2, default is 0

Details

Strictly speaking getH is a wrapper function. It loads the fortran subroutine BDATHXDX within a call of loadBDAT.

Value

height of diameter dx

Examples

1
getH(sp=1, d=30, h=40, dx=20)

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