speciesComp_byC: Calculates species composition based on cluster/species...

Description Usage Arguments Value Author(s)

Description

Calculates species composition at cluster level based on cluster/species summary. The cluster/species-level summaries is an output of volSmry_byCS function. This function is equivalent to sp_comp.sas in original compiler.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
speciesComp_byC(CSSmryTable, basedOn, speciesMaxNO, smallTreeCompile)


  ## S4 method for signature 'data.table,character,numeric,logical'
speciesComp_byC(CSSmryTable,
  basedOn, speciesMaxNO, smallTreeCompile)


  ## S4 method for signature 'data.table,character,numeric,missing'
speciesComp_byC(CSSmryTable,
  basedOn, speciesMaxNO)

Arguments

CSSmryTable

data.table, Summarized volume components for both measured and counted trees at cluster and species level. See volSmry_byCS for details.

basedOn

character, Specifies which component is used for species composition summary.

speciesMaxNO

numeric, Maximum number of species entries to calculate.

smallTreeCompile

logical, Defines whether the function is used for calculate species composition for small trees. If missing, FALSE is used.

Value

A data table that contains species composition at cluster level.

Author(s)

Yong Luo


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