plotMeanSizeCompsGG: Plot comparisons of mean model and data size compositions by...

Description Usage Arguments Value

View source: R/plotMeanSizeCompsGG.R

Description

Function to plot comparisons of mean model and data size compositions by year for specified sexes. Maturity/shell condition combinations for a given year x sx combination are distinguished by different colors.

Usage

1
2
3
plotMeanSizeCompsGG(name, od, md, label = "", disAggBy = c("sx", "ms",
  "sc"), normalize = TRUE, normBy = NULL, ggtheme = theme_grey(),
  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

showPlot

- flag (T/F) to show plots immediately

Value

list of ggplot objects comprising the graph pages to plot


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