Learn R Programming

medfate (version 4.7.0)

emptyforest: Creation of an empty forest

Description

Creates an empty forest object.

Usage

emptyforest(ntree = 0, nshrub = 0, nseed = 0)

Value

An empty forest object.

Arguments

ntree, nshrub

Number of tree and shrub cohorts, respectively.

nseed

Number of species in the seed bank.

Author

Miquel De Cáceres Ainsa, CREAF

See Also

forest, tree2forest, summary.forest, forest_mapWoodyTables, forest_mergeTrees, plot.forest

Examples

Run this code
# Initializes forest with 2 tree cohorts and 1 shrub cohort
emptyforest(ntree = 2, nshrub = 1)

Run the code above in your browser using DataLab