plot.rec.dist.decade: Plot recruitment distribution proportions by decade for a...

Description Usage Arguments

Description

Plot distribution of proportion of total recruitment (averaged over year range) between quarters and regions across models. If only a single repfile is entered then plot the distribution of proportions across time

Usage

1
2
3
4
5
6
7
8
9
plot.rec.dist.decade(
  rep,
  plot_type = "violin",
  overlay_data = FALSE,
  palette.func = default.model.colours,
  save.dir,
  save.name,
  ...
)

Arguments

rep

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

plot_type

Can be "violin" for a violin plot or "box" for a boxplot. The default is boxplot.

overlay_data

Do you want to overlay the original data on the distribution? TRUE or FALSE (default).

palette.func

A function to determine the colours of each area. 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().

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

...

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.