Learn R Programming

rBDAT (version 1.0.1)

Implementation of BDAT Tree Taper Fortran Functions

Description

Implementing the BDAT tree taper Fortran routines, which were developed for the German National Forest Inventory (NFI), to calculate diameters, volume, assortments, double bark thickness and biomass for different tree species based on tree characteristics and sorting information. See Kublin (2003) for details.

Copy Link

Version

Install

install.packages('rBDAT')

Monthly Downloads

448

Version

1.0.1

License

BSD_2_clause + file LICENSE

Maintainer

Christian Vonderach

Last Published

May 8th, 2025

Functions in rBDAT (1.0.1)

getHeight

Get height of given diameter inside tree taper
getForm

Get estimated mean of form factor q03
getAssortment

Get assortments for one or many trees
BDATDMRHX

Calculate diameter in height Hx over bark.
BDATRINDE2HX

Calculate double bark thickness
BDATVOLABMR

Calculate wood volume over bark of a tree between height A and B
BDATVOLABOR

Calculate volume under bark of a tree between height A and B
getBiomass

Get total aboveground biomass of tree
plot.datBDAT

Plot taper curve of a tree
throw

Throw a Condition
getDiameter

Get diameter in given height inside tree taper
updateBdatNamespace

replace NAMESPACE from 'rBDATPRO' to 'rBDAT'.
rBDAT-package

Implementation of BDAT Tree Taper Fortran Functions
clearError

clear errors from subroutine BDAT20
errormessage

Return dedicated error message
transformBDAT20

transform BDAT20-matrix
buildTree

Build and check tree data for subsequent use in BDAT Fortran subroutines
BDATVOLDHOR

Calculate (coarse) wood volume under bark of a tree up to given diameter
BDATVOLDHMR

Calculate (coarse) wood volume over bark of a tree up to given diameter
BDATBIOMASSE

Get total aboveground biomasse
BDAT20

BDAT 2.0 assortment function
BDATDORHX

Calculate diameter in height Hx under bark.
getSpeciesCode

Get BDAT species code or transform it to a name.
getVolume

Get segment volume for one or many trees
getBark

Get double bark thickness of tree at given height Hx