View source: R/plot.pred.obs.cpue.R
plot.pred.obs.cpue | R Documentation |
Plot observed (colored points) and model-predicted (black lines) CPUE for selected fisheries The color of the point indicates the penalty applied to the observed CPUE where brighter colors indicate a larger penalty.
plot.pred.obs.cpue(
frq = frq,
par = par,
fisheries,
fishery_names,
save.dir,
save.name
)
frq |
An object of type MFCLFrq that contains the observed catch, effort and penalty data. |
par |
An object of MFCLPar that contains the effort devs. |
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 |
The observed CPUE is calculated from the observed catches and effort in the 'freq' file. The model-predicted CPUE is calculated from the observed catches in the 'freq' file and the model-estimated effort (from applying the estimated effort devs to the observed effort in the 'freq' file .) The CPUE series are normalised by dividing by the mean before plotting. (The difference between the predicted and observed time series is therefore just the effort devs).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.