standTable: Stand Table Calculation

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Calculates a simple stand table from some tree diameters.

Usage

1
2
3
4
standTable(dbh,
           wantBA = TRUE,
           isEnglish = TRUE,
           runQuiet = TRUE, ...)

Arguments

dbh

A vector of tree diameters.

wantBA

TRUE: calculate basal area too; FALSE: just frequency.

isEnglish

TRUE: English units; FALSE: metric units.

runQuiet

TRUE: No feedback; FALSE: a little report.

...

Arguments passed on to dbhClassLimits.

Details

This routine calculates an unweighted stand table based on the diameters passed. The diameters are classed using dbhClassLimits to define the limits, and groupDBH to do the grouping. Basal area is calculated based on the raw (ungrouped/non-midpoint) diameters passed.

Value

A data frame with the stand table composed of the dbh class limits, tree frequency, and basal area (if desired).

Note

Sometime we might want to add some functionality for point sampling, etc.

Author(s)

JHG.

See Also

groupDBH, dbhClassLimits

Examples

1
2
dbh = rexp(100, 0.25)
st = standTable(dbh, runQuiet=FALSE) #should produce a warning

Mensuration documentation built on May 2, 2019, 4:52 p.m.