Learn R Programming

medfate (version 2.8.0)

plot.forest: Plot forest attributes

Description

Convenient wrappers for vertical forest profiles (see vprofile_leafAreaDensity).

Usage

# S3 method for forest
plot(x, SpParams, type = "LeafAreaDensity", 
                      byCohorts = FALSE, bySpecies = FALSE, ...)
# S3 method for forest
shinyplot(x, SpParams, ...)

Value

A ggplot or a shiny application, depending on the function.

Arguments

x

An object of class forest.

SpParams

A data frame with species parameters (see SpParamsMED).

type

A string of the plot type: "LeafAreaDensity", "RootDistribution", "FuelBulkDensity", "PARExtinction", "SWRExtinction" or "WindExtinction".

byCohorts

Flag to separate profiles for each cohort.

bySpecies

Flag to aggregate results by species.

...

Additional parameters to vertical profiles

Author

Miquel De Cáceres Ainsa, CREAF

See Also

vprofile_leafAreaDensity

Examples

Run this code
data(exampleforestMED)
data(SpParamsMED)
plot(exampleforestMED, SpParamsMED)

Run the code above in your browser using DataLab