riskGroupDeriver: Derive risk group for standard sample compilation/data

Description Usage Arguments Value Author(s)

Description

will refine. This function is equivalent to risk_grp.sas macro.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
riskGroupDeriver(species, pathIndex, series, height, method)


  ## S4 method for signature 'character,character,character,numeric,character'
riskGroupDeriver(species,
  pathIndex, series, height, method)


  ## S4 method for signature 'character,character,missing,missing,character'
riskGroupDeriver(species,
  pathIndex, series, height, method)

Arguments

species

character, Tree basic species code, which is SP0 in VRI original data.

pathIndex

character, A character with length of 8, consists of 0 or 1.

series

character, DWB series. It is a lenght of 2 number character and can be derived using getDWBSeries function.

height

numeric, Total tree height.

method

character, Specifies the method between FIZ and KBEC to categorize the risk group. The FIZ method derives risk group by species, pathIndex, series and height. KBEC method derives the risk group using species and pathIndex.

Value

Risk group, which is character

Author(s)

Yong Luo


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