DWBCompiler: Compile decay, waste and breakage for standard tables-VRI...

Description Usage Arguments Value Author(s)

Description

This function compiles decay, waste and breakage for standard tables in VRI compiler. The function is equivalent to dwb_vri_2017.sas.

Usage

1
2
3
4
5
6
7
8
9
DWBCompiler(treeMS, siteAge, treeLossFactors, equation)

## S4 method for signature 'data.table,data.table,data.table,character'
DWBCompiler(treeMS,
  siteAge, treeLossFactors, equation)

## S4 method for signature 'data.table,data.table,data.table,missing'
DWBCompiler(treeMS,
  siteAge, treeLossFactors)

Arguments

treeMS

data.table, Tree-level data that has been compiled whole stem volume and gross merchantable volume for full and enhanced trees.

siteAge

data.table, Cluster-level summaries of age and height. This table is an output from siteAgeSummary

treeLossFactors

data.table, The tree loss factor data, an output of VRIInit_lossFactor. In this funtion, this table provides loss indicator.

equation

character, Specifies whether the compiler is based on KFIZ or KBEC. Default is set as KBEC.

Value

A compiled volume after removing decay, waste and breakage; a log file

Author(s)

Yong Luo


bcgov/BCForestGroundSample documentation built on May 25, 2019, 3:21 p.m.