Generates many output plots and tables for a fit WHAM model.
plot_wham_output(
mod,
dir.main = getwd(),
out.type = "png",
res = 72,
plot.opts = NULL
)
out.type = 'pdf'
makes one pdf file of all plots. out.type = 'png'
(default)
creates a subdirectory `plots_png`` in dir.main
and saves .png files within.
out.type = 'html'
makes a html files for viewing plot .png files and html tables of parameter estimates in a browser.
out.type = 'pdf' or 'png'
makes LaTeX and pdf files of tables of parameter estimates.
(tabs: 'input data', 'diagnostics', 'results', 'ref_points', 'retro', and 'misc').
plot.opts
holds optional arguments to modify plots:
$ages.lab
Character vector, will change age labels in plots (default is 1:n.ages
).
$font.family
Font family, e.g. "Times"
.
Plot functions are located in wham_plots_tables.R
Table function is located in par_tables_fn.R