View source: R/plot.overall.composite.fit.R
plot.overall.composition.fit | R Documentation |
Plot composite (all time periods combined) observed and predicted catch-at-length for each fishery.
The table comes from the length.fit file and has already been processed using the
length.fit.preparation()
function (which is based on Yukio's code).
This may also work with weight.fit data but has not been tested yet.
plot.overall.composition.fit(
lfit,
fisheries,
fishery_names,
save.dir,
save.name,
ncol = NULL,
xlab = "Length (cm)"
)
lfit |
A data.frame of observed and predicted composite catch-at-length data (generated using |
fisheries |
The numbers of the fisheries to plot. |
fishery_names |
The names of the fisheries to plot. |
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 |
ncol |
Number of columns to plot across. Default is ggplot2 default. |
xlab |
Label for the xaxis. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.