standDynamicsSummary: Draws stand dynamics

Description Usage Arguments Value Examples

View source: R/drawStandDynamics.R

Description

Draw temporal changes of stand-level variables.

Usage

1
standDynamicsSummary(x, standVariable = "BA", draw = TRUE)

Arguments

x

the output of function IFNdynamics.

standVariable

Variable to be plotted:

  • 'BA' - Basal area

  • 'N' - Stem density

  • 'QMD' - Quadratic mean diameter

  • 'MAXD' - Maximum diameter

  • 'HDOM' - Dominant height

  • 'DDOM' - Dominant diameter

  • 'DSD' - Standard deviation of diameter

  • 'VCC' - Sum of stem volume including bark

  • 'Biomass' - Sum of biomass of stem+branches+roots

draw

Logical flag to indicate that draw is produced

Value

If draw = TRUE returns a plot. A data frame with stand statistics per simulation step and run.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Load example tree data (two forest plots)
data(exampleTreeData)

# Load IFN environmental data
data(plotDataIFN)

# Simulate stand dynamics and store transient states
x = IFNdynamics(exampleTreeData, plotDataIFN, numSteps = 10, sequence = TRUE)

# Draw basal area dynamics
standDynamicsSummary(x)

miquelcaceres/IFNdyn documentation built on Feb. 1, 2021, 10:55 a.m.