boredAgeCalculator_Crted: Derive age at breast height

Description Usage Arguments Value Author(s)

Description

This function uses site tools to derive age at breast height for the bored age that is not taken at breast height, i.e., 1.3 m. The process was documented in BC VRI Sample Data Compilation Process.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
boredAgeCalculator_Crted(boredAge, boredHeight, treeHeight, species, ICRegion,
  siteToolsDLLPath, sasExePath)


  ## S4 method for signature 
## 'numeric,numeric,numeric,character,character,character,character'
boredAgeCalculator_Crted(boredAge,
  boredHeight, treeHeight, species, ICRegion, siteToolsDLLPath, sasExePath)


  ## S4 method for signature 
## 'numeric,numeric,numeric,character,character,character,missing'
boredAgeCalculator_Crted(boredAge,
  boredHeight, treeHeight, species, ICRegion, siteToolsDLLPath)

Arguments

boredAge

numeric, Age at bored height

boredHeight

numeric, Height at the bore core.

treeHeight

numeric, Total tree height

species

character, Species code, must be consistent with the species code in site tools. Can be derived using siteToolsSpeciesConvertor.

ICRegion

character, Must be either I (interior) and C (coastal). IC regions can be derived using BEC2IC function.

siteToolsDLLPath

character, Path to SINDEX33.DLL

sasExePath

character, Path to sas executable, i.e., sas.exe. If missing, the function takes C:/Program Files/SASHome/x86/SASFoundation/9.3 as default. However, it will cause crush if sas executable is not located in default path.

Value

Tree age at breast height (1.3 m). For the estimated age <= 0.1, the bored age will be used as breast age and a warning message will be given.

Author(s)

Yong Luo


bcgov/BCForestInventory documentation built on Feb. 11, 2018, 4:17 p.m.