plotMDFR.Fits.SizeComps: Plot fits to size comps by fleet among several model runs...

View source: R/plotMDFR.Fits.SizeComps.R

plotMDFR.Fits.SizeCompsR Documentation

Plot fits to size comps by fleet among several model runs from a dataframe

Description

Function to plot fits to size comps by fleet among several model runs from a dataframe.

Usage

plotMDFR.Fits.SizeComps(
  mdfr = NULL,
  ylab = "",
  cap1 = "1",
  plotObs = TRUE,
  plotMod = TRUE,
  plotObsAsBars = TRUE,
  nrow = 5,
  ncol = 3,
  pdf = NULL,
  showPlot = FALSE,
  verbose = FALSE
)

Arguments

mdfr
  • dataframe from call to rCompTCMs::extractFits.SizeComps

ylab
  • y axis label

cap1
  • template for caption

plotObs
  • flag to plot observations

plotMod
  • flag to plot model predictions

plotObsAsBars
  • flag (T/F) to plot observations/predictions as bars/lines (T) or lines/bars (F)

nrow
  • number of rows per page for output plots

ncol
  • number of columns per page for output plots

pdf
  • name for output pdf file

showPlot
  • flag (T/F) to show plot

verbose
  • flag (T/F) to print diagnostic information

Details

Uses wtsUtilities::printGGList.

Value

Non-nested list of ggplot2 objects, with captions as names


wStockhausen/rCompTCMs documentation built on Sept. 12, 2023, 3:13 p.m.