compareResults.sdRep.DerivedVars: Plot sd_report time series for recruitment and SSB from...

View source: R/compareResults.sdRep.DerivedVars.R

compareResults.sdRep.DerivedVarsR Documentation

Plot sd_report time series for recruitment and SSB from several model

Description

This function plots sd_report recruitment and SSB time series from several model runs.

Usage

compareResults.sdRep.DerivedVars(
  objs,
  ci = 0.95,
  colour_scale = NULL,
  fill_scale = NULL,
  verbose = FALSE
)

Arguments

objs
  • list of resLst objects

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

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

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

Details

Results are extracted using rTCSAM02::getMDFR.SdRep.DerivedVars() for tcsam02 model runs. The plot objects can be re-faceted on variable as desired (e.g., p[[1]]+facet_wrap(~variable,ncol=2,scales="free")).

Value

list with two ggplot2 objects


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