View source: R/plot-historical-probs-retro.R
plot_historical_probs_retro | R Documentation |
make.historical.probs.plot()
for each retrospectiveMake individual plots (or one overlaid) of historical probability calculations
that uses retrospective runs (given we have them). Calls
make.historical.probs.plot()
for each retrospective
plot_historical_probs_retro(
model,
hist_probs,
type = "decline",
xLim = c(2012, assess_yr),
make.one.figure = TRUE,
cols = c("lightgrey", "darkgreen", "lightgreen", "brown", "pink", "orange", "gold",
"darkgrey", "violet", "black"),
time.sleep = 0,
omit.current = TRUE,
select.retros = NULL,
lwd.val.for.retros = 1,
legend.text.model = "From current base model",
...
)
model |
Model with retrospectives |
hist_probs |
A data frame containing the data found in
|
type |
One of |
xLim |
Range of x (years) axis |
make.one.figure |
Whether to plot everything on one figure or new figure for each retro. |
cols |
Vector colors to use |
time.sleep |
Seconds to pause between plots |
omit.current |
Omit current base model plot when doing individual plots (e.g. for panel plot don't need it, probably already shown it) |
select.retros |
Vector of retrospective runs to use, where 1:4 would be the earliest four retrospective runs (for not doing all plots to be able to spread them out over multiple pages) |
lwd.val.for.retros |
lwd for retro lines, default of 1 is for one figure |
legend.text.model |
text to describe |
... |
Arguments to pass to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.