Learn R Programming

rBDAT (version 1.0.0)

BDATBIOMASSE: Get total aboveground biomasse

Description

BDAT-Function to get total aboveground biomass.

Usage

BDATBIOMASSE(BDATArtNr, D1, H1 = 0, D2 = 0, H2 = 0, H)

Value

vector of biomass for given trees

Arguments

BDATArtNr

numeric vector of species code, see getSpeciesCode

D1

first measured diameter of tree [cm], e.g. diameter in breast height

H1

measurement height of D1 [m]

D2

second measured diameter of tree, see buildTree for details on how to specify different taper forms

H2

measurement height of D2, see buildTree for details on how to specify different taper forms

H

total tree height [m]

Details

This function returns total aboveground biomass for given tree/s, based on the biomass functions developed for the german NFI 3. See the additional material for some german reference.

See Also

getBiomass for a function with more convenient english name

Examples

Run this code
## simple call of function, with all parameters given
BDATBIOMASSE(1, 30, 1.3, 0, 0, 25)

## same with variables
BDATArtNr <- 1
D1 <- 30
H1 <- 1.3
D2 <- 0
H2 <- 0
H <- 25
BDATBIOMASSE(BDATArtNr = BDATArtNr, D1 = D1, H1 = H1, D2 = D2, H2 = H2, H = H)

## calling with a subset of tree characteristics
## german species names, abbreviated
BDATBIOMASSE(getSpeciesCode(c("Fi", "Bu")), 30, H = 25)
## english abbreviated
BDATBIOMASSE(getSpeciesCode(c("NS", "BE")), 30, H = 25)

Run the code above in your browser using DataLab