plot_hisafe_bg: Plot belowground tree root depth & water table

Description Usage Arguments Value See Also Examples

View source: R/plot.R

Description

Plots a daily timeseries of tree maximum rooting depth, water table depth, and root senescence by anoxia.

Usage

1
2
3
4
5
6
7
8
plot_hisafe_bg(
  hop,
  simu.names = "all",
  years = "all",
  tree.ids = 1,
  sen = c("fine", "coarse"),
  plot = TRUE
)

Arguments

hop

An object of class hop.

simu.names

A character vector of the SimulationNames within hop to include. Use "all" to include all available values.

years

A numeric vector of the years within hop to include. Use "all" to include all available values.

tree.ids

A numeric vector indicating a subset of tree ids to plot. Only one tree can be plotted at a time.

sen

A character vector indicated whether or not to plot the fine and coarse root senesence. Any value other than than "fine" and/or "coarse" will prevent them from being plotted.

plot

If TRUE, the default, a ggplot object is returned. If FALSE, the data that would create the plot is returned.

Value

If plot = TRUE, returns a ggplot object, otherwise the data that would create the plot is returned.

See Also

Other hisafe plot functions: plot_hisafe_annualcells(), plot_hisafe_cells(), plot_hisafe_monthcells(), plot_hisafe_scene(), plot_hisafe_tstress(), plot_hisafe_ts(), plot_hisafe_voxels()

Examples

1
2
3
4
## Not run: 
plot_hisafe_bg(hop)

## End(Not run)

kevinwolz/hisafer documentation built on Oct. 19, 2020, 4:43 p.m.