View source: R/plot_twopanel_comparison.R
plot_twopanel_comparison | R Documentation |
Plot a two-panel time series comparison of spawning biomass and relative spawning biomass for Lingcod
plot_twopanel_comparison(
mods,
legendlabels = NULL,
filename = NULL,
print = TRUE,
dir = "figures/compare",
hessian = TRUE,
endyrvec = 2021,
ylimAdj1 = 1.05,
ylimAdj2 = 1.05,
verbose = TRUE,
...
)
mods |
A list of model objects as created by r4ss::SS_output(), grouped together as a list(), or by r4ss::SSgetoutput() |
legendlabels |
Labels for use in the legend. NULL value will use the lingcod model id |
filename |
file to write to (relative to the "figures" directory)
NULL value will use a filename like |
print |
TRUE/FALSE print to a png file: |
dir |
Where to put the PNG file if |
endyrvec |
final year to include in the figure passed to r4ss::SSplotComparisons() |
ylimAdj1 |
adjustment to y-axis limit for the first plot, relative to highest point among all models shown |
ylimAdj2 |
adjustment to y-axis limit for the second plot, relative to highest point among all models shown |
verbose |
A logical value specifying if output should be printed
to the console or not. The default is |
dots |
additional arguments that will get passed to r4ss::SSplotComparisons() |
Ian G. Taylor
## Not run:
plot_twopanel_comparison(mods = list(mod.2019.s.002.002,
mod.2019.s.003.001),
endyrvec = 2019)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.