View source: R/Biomass_sitree.R
biomass.sitree | R Documentation |
Calculates biomass for trees using the Norwegian biomass equations.
biomass.sitree(tr, plot.data)
tr |
A trList or trListDead object. |
plot.data |
A data.frame or list with plot information. It should have at least plot.id and tree2ha. |
Returns a data.table containing the 12 columns resulting from applying the biomass functions.
Clara Anton Fernandez caf@nibio.no
biomass.birch.S2014
, biomass.birch.M1988
,
biomass.pine.M1988
, biomass.spruce.M1988
, biomass.norway.sitree
library(sitree)
result.sitree <- sitree (tree.df = stand.west.tr,
stand.df = stand.west.st,
functions = list(
fn.growth = 'grow.dbhinc.hgtinc',
fn.mort = 'mort.B2007',
fn.recr = 'recr.BBG2008',
fn.management = NULL,
fn.tree.removal = NULL,
fn.modif = NULL,
fn.prep.common.vars = 'prep.common.vars.fun'
),
n.periods = 20,
period.length = 5,
mng.options = NA,
print.comments = FALSE,
fn.dbh.inc = "dbhi.BN2009",
fn.hgt.inc = "height.korf"
)
biom <- biomass.sitree(tr = result.sitree$live, plot.data = result.sitree$plot.data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.