View source: R/plot_climate_phase.R
| plot.ZG_output_clim | R Documentation |
S3 plotting method for objects of class ZG_output_clim. This allows
climate-augmented zero-growth outputs to be visualized directly with the
generic plot() function.
## S3 method for class 'ZG_output_clim'
plot(
x,
y = NULL,
...,
climate_var = NULL,
climate_vars = NULL,
numeric_vars = NULL,
compare = FALSE,
temporal = NULL
)
x |
An object of class |
y |
Optional climate variable name passed as the second argument. |
... |
Additional arguments passed to |
climate_var |
Character. Name of one climate variable to plot. |
climate_vars |
Character vector of climate variables for comparison plots. |
numeric_vars |
Character vector of numeric variables used for correlation or regression heatmaps. |
compare |
Logical. If |
temporal |
Deprecated argument kept for compatibility with older examples. It is ignored. |
A ggplot2 object, returned invisibly.
# plot(zg_clim, climate_var = "VPD_mean_phase", scale = "cycle",
# type = "boxplot")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.