compareResults.Pop.NatZ.LinePlots: Function to compare population numbers-at-size estimates by...

View source: R/compareResults.Pop.NatZ.LinePlots.R

compareResults.Pop.NatZ.LinePlotsR Documentation

Function to compare population numbers-at-size estimates by year among several models

Description

This function compares population numbers-at-size estimates by year using line plots among several models.

Usage

compareResults.Pop.NatZ.LinePlots(
  objs,
  type = c("N_yxmsz", "N_yxmz", "N_yxz", "iN_xmsz", "fN_xmsz"),
  dodge = 0.2,
  ncol = 3,
  nrow = 5,
  showPlot = FALSE,
  pdf = NULL,
  verbose = FALSE
)

Arguments

objs
  • list of resLst objects

type
  • type of abundance ("N_yxmsz","N_yxmz","N_yxz","iN_xmsz"-initial Ns,"fN_xmsz"-final Ns)

dodge
  • width to dodge overlapping series

ncol
  • number of columns per page for multi-year plots

nrow
  • number of rows per page (nominal) for multi-year plots

showPlot
  • flag (T/F) to show plot

pdf
  • creates pdf, if not NULL

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

Details

uses rTCSAM2013::getMDFR.Pop.Quantities, rsimTCSAM::getMDFR.Pop.Quantities, rsimTCSAM::getMDFR.Pop.Quantities, and plotMDFR.XY.

Value

ggplot2 object


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