forest | R Documentation |
Description of a forest stand
emptyforest(ntree = 0, nshrub = 0)
## S3 method for class 'forest'
summary(object, SpParams, ...)
## S3 method for class 'summary.forest'
print(x, digits = getOption("digits"), ...)
ntree, nshrub |
Number of tree and shrub cohorts, respectively. |
object |
An object of class
|
SpParams |
A data frame with species parameters (see |
... |
Additional parameters for functions |
x |
The object returned by |
digits |
Minimal number of significant digits. |
Function summary.forest
can be used to summarize a forest
object in the console.
Function emptyforest
creates an empty forest
object.
The structure presented above for forest
objects corresponds to the required data elements.
A forest
object can contain additional information when this is available. Data frames treeData
and shrubData
can contain additional columns:
LAI
: Leaf area index (m2/m2)
FoliarBiomass
: Standing dry biomass of leaves (kg/m2)
FuelLoading
: Fine fuel loading (kg/m2)
CrownRatio
: The ratio between crown length and total height (between 0 and 1)
Similarly, one can define forest
list elements herbLAI
, herbFoliarBiomass
or herbFuelLoading
.
All these values are used to override allometry-based estimates of those variables when initializing
inputs for functions spwb
or spwb_day
. Note that leaf area index, foliar biomass and
fuel loading are related entities, and they are treated as such in medfate. Therefore, users are expected to supply
one or the other, and not all of them at the same time.
Function summary.forest
returns a list with several structural attributes, such as the basal area and LAI of the forest.
Function emptyforest
returns an empty forest
object.
Miquel De Cáceres Ainsa, CREAF
exampleforestMED
, forest_mergeTrees
, plot.forest
data(exampleforestMED)
data(SpParamsMED)
# Example forest
exampleforestMED
# Summary of example forest
summary(exampleforestMED, SpParamsMED)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.