ST_YrsToBH: Derive years between ground and breast height in site tools

Description Usage Arguments Value Author(s) See Also

Description

Derive years between ground and breast height based on site index curve reference (SICurveRef) and site index (siteIndex) in site tools.

Usage

1
2
3
4
5
6
7
8
9
ST_YrsToBH(SICurveRef, siteIndex, siteToolsDLLPath, sasExePath)

## S4 method for signature 'numeric,numeric,character,character'
ST_YrsToBH(SICurveRef,
  siteIndex, siteToolsDLLPath, sasExePath)

## S4 method for signature 'numeric,numeric,character,missing'
ST_YrsToBH(SICurveRef, siteIndex,
  siteToolsDLLPath)

Arguments

SICurveRef

numeric, Site index curve reference in site tools. It can be derived using ST_DefCurve function.

siteIndex

numeric, Site index. Defined as tree height at 50 years old.

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 does not located in default folder.

Value

A list of output and error. output is the derived years to breast height. error is the flag in calculation, with negative value represents failure.

Author(s)

Yong Luo

See Also

ST_SpecRemap, ST_DefCurve, ST_DefGICurve and ST_HTAgeToSI


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