plot.maturity | R Documentation |
Plots the natural mortality by length bin or age class for each mode
plot.maturity(
pars,
par.names = NULL,
Length = FALSE,
LnBins,
show.legend = TRUE,
palette.func = default.model.colours,
xlab = "Age class",
ylab = "Reproductive output",
LegLoc = "bottomright",
linesize = 1,
save.dir,
save.name,
...
)
pars |
a list of MFCLPar objects or a single MFCLPar object. The reference model should be the first in the list. |
par.names |
an optional vector of character strings naming the models for plotting purposes. If not supplied, model names will be taken from the names in the par.list (if available) or generated automatically. |
Length |
a boolean to determine whether to plot maturity at age (default) or maturity at length |
LnBins |
a vector of length bin values |
show.legend |
Do you want to show the plot legend, TRUE (default) or FALSE. |
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(). |
xlab |
Name to display on the x axis label |
ylab |
Name to display on the y axis label |
LegLoc |
legend location if show.legen is TRUE |
linesize |
Size of line. |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.