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

Description Usage Arguments Details Value Examples

View source: R/getDatHx.R

Description

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

Usage

1
getDatHX(sp, d, h, hx, H1 = 1.3, D2 = 0, H2 = 0, bark = TRUE)

Arguments

sp

species code from BDAT

d

diameter in breast height (dbh) of tree

h

height of tree

hx

height for which diameter 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

bark

boolean, if TRUE volume including bark is calculated (default)

Details

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

Value

diameter at height hx

Examples

1
getDatHx(sp=1, d=30, h=40, hx=20)

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