plot.F.temporal: Compare Fishing Mortality Across Different Models

View source: R/plot.F.temporal.r

plot.F.temporalR Documentation

Compare Fishing Mortality Across Different Models


Compare Fishing Mortality Across Different Models


  par.list = NULL,
  rep.names = NULL,
  agg.years = TRUE,
  agg.regions = TRUE,
  agg.ages = NULL, = FALSE,
  palette.func = default.model.colours,



A list of MFCLRep objects or a single MFCLRep object. The reference model should be listed first.


Optional list of MFCLPar objects or a single MFCLPar object. Used for plotting juvenile and adult fishing mortality. If specified then agg.ages is ignored.


A vector of character strings naming the models for plotting purposes. If not supplied, model names will be taken from the names in the x list (if available) or generated automatically.


TRUE or FALSE. Should model outputs be aggregated to an annual time step.


TRUE or FALSE. Should model outputs be aggregated across all regions or kept separate.


A vector of age classes to average F over. Default is all age classes.

TRUE or FALSE. If TRUE and agg.regions is also TRUE then the y-axis scales will be independent across regions, otherwise they will be shared to show regional scaling.


A function to determine the colours of the models. The default palette has the reference model in black. It is possible to determine your own palette function. Two functions currently exist: default.model.colours and colourblind.model.colours.


Path to the directory where the outputs will be saved.

Name stem for the output, useful when saving many model outputs in the same directory.


Extra arguments passed to palette.func. Use the argument all.model.colours to ensure consistency of model colours when plotting a subset of models.

PacificCommunity/ofp-sam-diags4MFCL documentation built on Oct. 11, 2023, 1:32 a.m.