compareResults.Pop.GrowthMatrices.LinePlots: Compare growth matrices among several model runs using line...

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

compareResults.Pop.GrowthMatrices.LinePlotsR Documentation

Compare growth matrices among several model runs using line plots

Description

Function to compare growth matrices among several model runs using line plots.

Usage

compareResults.Pop.GrowthMatrices.LinePlots(
  objs,
  dodge = 0.2,
  ncol = 3,
  nrow = 5,
  showPlot = FALSE,
  pdf = NULL,
  verbose = FALSE
)

Arguments

objs
  • list of resLst objects

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 to print plot to current device

pdf
  • name for output pdf file

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

Details

The line plots are faceted by pre-molt size. If multiple models are compared, then sex-specific plots are created, with individual lines corresponding to different models. If a single model is plotted, the different sexes are plotted using different colors on the same faceted plots.

Value

list of ggplot objects, by sex


wStockhausen/rCompTCMs documentation built on Aug. 27, 2024, 7:15 p.m.