Learn R Programming

aRchi (version 2.1.3)

TreeBiomass: Tree biomass estimation of the woody part

Description

Compute the tree wood biomass at different level of organization

Usage

TreeBiomass(aRchi, WoodDensity, level = "Tree")

# S4 method for aRchi TreeBiomass(aRchi, WoodDensity = NULL, level = "Tree")

Value

a numeric or data.table. The wood biomass in Kg at the requested level

Arguments

aRchi

an object of class aRchi with at least a QSM

WoodDensity

a numeric or a data.table. A single wood density value for the whole tree or one value per cylinder in kg/m3. If wood density is given for each cylinder a data.table with two column (i.e cyl_ID and WoodDensity) must be given.

level

character. The level at which the wood biomass is computed. Tree, branching_order or Axis.

Examples

Run this code
# Read an aRchi file with at least a QSM
file=system.file("extdata","Tree_1_aRchi.aRchi",package = "aRchi")
Tree1_aRchi=read_aRchi(file)
# Compute the whole tree wood biomass.
TreeBiomass(Tree1_aRchi,WoodDensity=550)

Run the code above in your browser using DataLab