DBHClassifier: Derive DBH class from DBH

Description Usage Arguments Value Author(s)

Description

This function derives DBH classes based on DBH. This function is equivalent to dbh_cl.sas macro.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
DBHClassifier(DBH, classInterval, maxDBH)

## S4 method for signature 'numeric,numeric,numeric'
DBHClassifier(DBH, classInterval,
  maxDBH)

## S4 method for signature 'numeric,missing,numeric'
DBHClassifier(DBH, maxDBH)

## S4 method for signature 'numeric,numeric,missing'
DBHClassifier(DBH, classInterval)

## S4 method for signature 'numeric,missing,missing'
DBHClassifier(DBH)

Arguments

DBH

numeric, Tree DBH.

classInterval

numeric, The interval that used to categorize the DBH. If missing 5 cm is used.

maxDBH

numeric, Upper class limit. DBH that surpasses this limit is groupped in at this limit. If missing 175 is used.

Value

Classified DBH

Author(s)

Yong Luo


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