View source: R/plot-spr-illustration.R
plot_spr_illustration | R Documentation |
Create a three-panel plot illustrating how the SPR is calculated.
plot_spr_illustration(
model,
yrs = NULL,
color = "royalblue",
show_legend = TRUE
)
model |
A model object, , created by |
yrs |
A vector of years to include in the calculation. If |
color |
The color to use for the bars |
show_legend |
Logical. Whether or not to show the text 'legend' |
A ggplot2::ggplot()
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.