standTable {Mensuration}R Documentation

Stand Table Calculation

Description

Calculates a simple stand table from some tree diameters.

Usage

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


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


[Package Mensuration version 1.1-3 Index]