plot.selectivity: Compare the estimated selectivity across different models.

Description Usage Arguments

View source: R/plot.selectivity.r

Description

Compare the estimated selectivity across different models.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
plot.selectivity(
  rep.list,
  rep.names = NULL,
  sel.basis = "AGE",
  palette.func = default.model.colours,
  fisheries,
  save.dir,
  save.name,
  fsh.lab = NULL,
  ...
)

Arguments

rep.list

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

rep.names

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

sel.basis

A character string indicating if selectivity at age ('AGE') or length ('Length') should be plotted

palette.func

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().

fisheries

A vector giving the number of the fisheries to plot. Default is to plot everything.

save.dir

Path to the directory where the outputs will be saved

save.name

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

fsh.lab

A vector of fisheries labels

...

Passes extra arguments to the palette function. 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 July 18, 2021, 9:25 a.m.