compareFits.ZScores.Biomass: Compare z-scores from fitting biomass time series by fleet...

View source: R/compareFits.ZScores.Biomass.R

compareFits.ZScores.BiomassR Documentation

Compare z-scores from fitting biomass time series by fleet among several model runs

Description

Function to compare z-scores from fitting biomass time series by fleet among several model runs.

Usage

compareFits.ZScores.Biomass(
  objs = NULL,
  fleets = "all",
  fleet.type = c("survey", "fishery"),
  catch.type = c("index", "retained", "discard", "total"),
  plotPoints = TRUE,
  colour_scale = NULL,
  fill_scale = NULL,
  pdf = NULL,
  showPlot = FALSE,
  verbose = FALSE
)

Arguments

objs
  • object that can be converted into a list of tcsam2013.resLst and/or tcsam02.resLst objects

fleets
  • names of fleets to include (or "all")

fleet.type
  • fleet type ('fishery' or 'survey')

catch.type
  • catch type ('index','retained', 'discard', or 'total')

plotPoints
  • flag to plot points

colour_scale
  • ggplot2 colour scale to substitute for default (if not NULL)

fill_scale
  • ggplot2 fill scale to substitute for default (if not NULL)

pdf
  • name for output pdf file

showPlot
  • flag (T/F) to show plot

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

Details

Uses rTCSAM2013::getMDFR.SurveyQuantities(), rTCSAM2013::getMDFR.FisheryQuantities(), rTCSAM02::getMDFR.ZScores.Biomass(). Also uses wtsUtilities::printGGList.

Value

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


wStockhausen/rCompTCMs documentation built on Aug. 27, 2024, 7:15 p.m.