View source: R/plot.pred.obs.catch.R
plot.pred.obs.catch | R Documentation |
Plot difference between observed and predicted catches. The differences can be scaled by the total catch of each fishery. Multiple models can be passed in.
plot.pred.obs.catch(
rep.list,
rep.names = NULL,
fisheries,
fishery_names,
scale.diff = TRUE,
show.legend = TRUE,
show.points = FALSE,
palette.func = default.model.colours,
save.dir,
save.name,
...
)
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. |
fisheries |
The numbers of the fisheries to plot. |
fishery_names |
The names of the fisheries to plot. |
show.legend |
Do you want to show the plot legend, TRUE (default) or FALSE. |
show.points |
Do you want to show points as well as the smoother for the difference plots? Default is 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(). |
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.