compareFits.EffectiveNs: Function to compare effective Ns from size compositions by...

View source: R/compareFits.EffectiveNs.R

compareFits.EffectiveNsR Documentation

Function to compare effective Ns from size compositions by year among several models

Description

This function compares effective Ns from size compositions by year among several models.

Usage

compareFits.EffectiveNs(
  objs = NULL,
  mdfr = NULL,
  fleets = "all",
  fleet.type = c("survey", "fishery"),
  category = c("index", "captured", "discarded", "retained", "discard mortality"),
  years = "all",
  dodge = 0.2,
  facet_wrap = NULL,
  facet_grid = "x+m+s~.",
  showPlot = FALSE,
  pdf = NULL,
  verbose = FALSE
)

Arguments

objs
  • list of resLst objects

mdfr
  • dataframe

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

fleet.type
  • 'survey','fishery'

category
  • 'total','discard','retained','discard mortality', or 'index'

years
  • vector of years to show, or 'all' to show all years

dodge
  • width to dodge overlapping series

facet_wrap
  • ggplot2 formula to produce figure with wrapped facets

facet_grid
  • ggplot2 formula to produce figure with gridded facets

showPlot
  • flag (T/F) to show plot

pdf
  • creates pdf, if not NULL

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

Details

None.

Value

lists ofggplot2 objects, nested by fishery


wStockhausen/rCompTCMs documentation built on Sept. 12, 2023, 3:13 p.m.