plotSizeCompsComparisons2: DEPRECATED: Plot comparisons of model and data size...

Description Usage Arguments Details Value

View source: R/plotSizeCompsComparisons2.R

Description

DEPRECATED: Function to plot comparisons of model and data size compositions by year for specified sexes. USE: compareModels.Fits.NatZData(...) and compareModels.ZScores.NatZData(...).

Usage

1
2
3
plotSizeCompsComparisons2(name, od, md, label = "", disAggBy = c("sx", "ms",
  "sc"), normalize = TRUE, normBy = NULL, ggtheme = theme_grey(),
  ncol = 2, nrow = 5, showPlot = FALSE)

Arguments

name

- name of size comps source

od

- observed size comps list object (may be NULL)

md

- model (predicted) size comps list object (may be NULL)

label

- label for title

disAggBy

- vector of categories to keep disaggregated ('sx','ms',and/or 'sc') or NULL to aggregate over all

normalize

- flag (T/F) to normalize size comps

normBy

- vector of categories to normalize by ('sx','ms',and/or 'sc') or NULL to normalize over all

ggtheme

- ggplot2 theme to use

ncol

- number of columns per page for plots

nrow

- number of rows per page for plots

showPlot

- flag (T/F) to show plots immediately

Details

Maturity/shell condition combinations for a given year x sex combination are distinguished by different colors.

Value

list of ggplot objects comprising the graph pages to plot


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