Learn R Programming

medfate (version 0.8.2)

forest: Forest description

Description

Description of a forest patch.

Usage

# S3 method for forest
summary(object, SpParams, detailed=FALSE, ...) 
# S3 method for summary.forest
print(x, digits = getOption("digits"), ...)
emptyforest(ID="", patchsize=10000, ntree = 0, nshrub = 0)

Arguments

object

An object of class forest has the following structure:

  • ID: An identifier of the forest stand (a string).

  • patchsize: The area of the forest stand, in square meters.

  • treeData: A data frame of tree cohorts (in rows) and the following columns:

    • Species: Non-negative integer for tree species identity (i.e., 0,1,2,...).

    • Height: Total height (in cm).

    • DBH: Diameter at breast height (in cm).

    • N: Density (number of individuals/cell).

    • Z50: Depth (in mm) corresponding to 50% of fine roots.

    • Z95: Depth (in mm) corresponding to 95% of fine roots.

  • shrubData: A data frame of shrub cohorts (in rows) and the following columns:

    • Species: Non-negative integer for shrub species identity (i.e., 0,1,2,...).

    • Height: Total height (in cm).

    • Cover: Percent cover.

    • Z50: Depth (in mm) corresponding to 50% of fine roots.

    • Z95: Depth (in mm) corresponding to 95% of fine roots.

  • seedBank: A data frame containing the abundance of seeds for each species (in rows) and the following columns:

    • Species: Non-negative integer for shrub species identity (i.e., 0,1,2,...).

    • Abundance: Abundance class (0 - none; 1 - low; 2 - medium; 3 - high; 4 - very high).

  • herbCover: Percent cover of the herb layer.

  • herbHeight: Mean height (in cm) of the herb layer.

SpParams

A data frame with species parameters (see SpParamsMED).

detailed

A boolean flag to indicate that a detailed summary is desired.

x

The object returned by summary.forest.

digits

Minimal number of significant digits.

...

Additional parameters for functions summary and print.

ID

An identifier of the forest stand (a string).

patchsize

The area of the forest stand, in square meters.

ntree, nshrub

Number of tree and shrub cohorts, respectively.

Value

Function summary.forest returns a data frame with the basal area and LAI of the forest, either expressed as totals or divided among life stages and species. Function emptyforest returns an empty forest object.

Details

Function summary.forest can be used to summarize a forest object in the console. Function emptyforest creates an empty forest object.

See Also

exampleforest, extractSFIforest, soil

Examples

Run this code
# NOT RUN {
data(exampleforest)
data(SpParamsMED)

summary(exampleforest, SpParamsMED)

# }

Run the code above in your browser using DataLab