compareResults.Pop.Recruitment: Function to compare recruitment estimates by year among...

View source: R/compareResults.Pop.Recruitment.R

compareResults.Pop.RecruitmentR Documentation

Function to compare recruitment estimates by year among several models

Description

This function compares recruitment estimates by year among several models.

Usage

compareResults.Pop.Recruitment(
  objs,
  numRecent = 15,
  dodge = 0.2,
  plotPoints = FALSE,
  colour_scale = NULL,
  fill_scale = NULL,
  advanceYear = TRUE,
  showPlot = FALSE,
  pdf = NULL,
  verbose = FALSE
)

Arguments

objs
  • list of resLst objects or dataframe from extractMDFR.Pop.Recruitment

numRecent
  • number of "recent" years to plot

dodge
  • width to dodge overlapping series

plotPoints
  • flag to include points (default: FALSE)

colour_scale
  • ggplot2 colour scale to substitute for default (if not NULL)

fill_scale
  • ggplot2 fill scale to substitute for default (if not NULL)

advanceYear
  • flag to add 1 to year so recruitment coincides with year it's added to the population

showPlot
  • flag (T/F) to show plot

pdf
  • creates pdf, if not NULL

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

Details

None.

Value

list of ggplot2 objects


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