compareModels.ZScores.NatZData: Compare z-scores from fits to size compositions from catch...

Description Usage Arguments Details Value

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

Description

Function to compare z-scores from fits to size compositions from catch data for TCSAM2015 model runs.

Usage

1
2
3
4
5
compareModels.ZScores.NatZData(mdfr, fleets = NULL, catch.types = NULL,
  variable = "pearsons", nrow = 4, ncol = 3, xlab = "Size (mm CW)",
  ylab = variable, xlim = NULL, ylim = NULL,
  ggtheme = ggplot2::theme_grey(), showPlot = TRUE, pdf = NULL,
  width = 8, height = 6, verbose = FALSE)

Arguments

mdfr

- dataframe from call to getMDFR.ZScoresForFleets(...) for n.at.z data

fleets

- fleets to plot [NULL for all]

catch.types

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

variable

- variable to plot ("pearsons" or "nlls")

nrow

- number of rows per page for output plots

ncol

- number of columns per page for output plots

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)

verbose

- flag (T/F) to print diagnostic output

Details

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

Value

recursive list of lists of ggplot2 objects, named by fleet, catch type, sex, maturity state, and shell condition


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