View source: R/plot_timeseries_runs.R
plot_timeseries_runs | R Documentation |
Plot individual run output against each other as a time series
plot_timeseries_runs(
ps,
type = "ssb",
scen = 1,
yr_lim = c(NA_real_, NA_real_),
ylim = c(NA_real_, NA_real_),
legend_position = c(0.26, 0.85),
line_width = 1,
line_type = "solid"
)
ps |
A plot setup object as output by |
type |
One of 'ssb', 'ssb_ssb0', catch', 'aas', 'aac','aap' |
scen |
The scenario number to use. This is an integer representing the names given by |
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. |
ylim |
A vector of 2 for limits of the y-axis. If either are NA, the limits of the data are used. |
legend_position |
A vector of two - X and Y position for the legend. See |
line_width |
Width of the lines. See |
line_type |
Type of the lines. See |
A ggplot2::ggplot()
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.