View source: R/plot_em_timeseries.R
plot_em_timeseries | R Documentation |
Plot the mean of the year medians SSB for all Estimation models
plot_em_timeseries(
ps,
type = "ssb",
ci = c(0.05, 0.95),
ci_lines = TRUE,
yr_lim = c(NA_real_, NA_real_),
rev_scenarios = TRUE,
legend_position = c(0.15, 0.92),
free_y_scale = FALSE,
...
)
ps |
A plot setup object as output by |
type |
One of 'ssb', 'ssb_ssb0', catch', 'aas', 'aac','aap' |
ci |
A vector of length two of the lower and upper credible interval values. |
ci_lines |
If TRUE, use dashed lines for the CI envelope. If FALSE, use a shaded ribbon. |
yr_lim |
A vector of 2 for minimum and maximum yrs to show on the plot. If either are NA, the limits of the data are used. |
rev_scenarios |
If TRUE, reverse the order of the scenarios in the legend. |
legend_position |
A vector of two - X and Y position for the legend. See |
free_y_scale |
See the |
... |
Extra arguments to pass to |
A ggplot2::ggplot()
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.