compareModels.ZScores.AggCatchData: Compare zscores for fits to aggregated catch data (abundance...

Description Usage Arguments Details Value

View source: R/compareModels.ZScores.AggCatchData.R

Description

Function to compare zscores for fits to aggregated catch data (abundance or biomass) for TCSAM2015 model runs.

Usage

1
2
3
4
compareModels.ZScores.AggCatchData(mdfr, fleets = NULL, catch.types = NULL,
  xlab = "Year", ylab = "", xlim = NULL, ylim = NULL,
  ggtheme = ggplot2::theme_grey(), showPlot = TRUE, pdf = NULL,
  width = 8, height = 6)

Arguments

mdfr

- dataframe from call to getMDFR.ZScoresForFleets(...)

fleets

- fleets to plot [NULL for all]

catch.types

- catch types ('index.catch', retained.catch', etc) to plot [NULL for all]

xlab

- x axis label

ylab

- y axis label

xlim

- x axis limits

ylim

- y axis limits

ggtheme

- graphical theme for plot

showPlot

- flag to show/print plots immediately

pdf

- name of pdf file to record plot output to

width

- pdf page width (in inches)

height

- pdf page width (in inches)

logscale

- flag (T/F) to plot on log scale

Details

Plots are produced by fleet and faceted by sex, maturity, shell condition, and catch type.

Value

list of ggplot2 objects, named by fleet


wStockhausen/rTCSAM2015 documentation built on May 3, 2019, 7:14 p.m.