plot.CatDynMod {CatDyn} | R Documentation |
After model fit and prediction, examine model results on a graphical display.
## S3 method for class 'CatDynMod' plot(x, leg.pos, Biom.tstep, Cat.tstep, Biom.xpos, Biom.ypos, Cat.xpos, Cat.ypos, diagnostics.panels = 2, top.lab = TRUE, ...)
x |
An object of class CatDynMod. |
leg.pos |
The position of the legend in the top left panel. Passed to legend(). |
Biom.tstep |
Integer. The number of time steps over which to average the population biomass counting from the end of the season backwards. |
Cat.tstep |
Integer. The number of time steps over which to add the catch counting from the end of the season backwards. |
Biom.xpos |
Numeric. The position of the biomass estimate on the x-axis of the first panel of the plot in relative units. |
Biom.ypos |
Numeric. The position of the biomass estimate on the y-axis of the first panel of the plot in relative units. |
Cat.xpos |
Numeric. The position of the catch value on the x-axis of the first panel of the plot in relative units. |
Cat.ypos |
Numeric. The position of the catch value on the y-axis of the first panel of the plot in relative units. |
diagnostics.panels |
Integer. Whether to plot just one panel with the data and model prediction (diagnostics.panels = 0), or add three more panels for diagnostics based on deviance residual of the same size as the data-prediction panel (diagnostics.panels = 1), or to make the deviance residual panels smaller (diagnostics.panels = 2, the default). |
top.lab |
Logical. Whether to put a top label describing choices of model type, likelihood, and numerical method. Defaults to TRUE. |
... |
Further arguments to pass to plot(), hist(). |
If the average population biomass over the whole season is to be posted then an integer equal to the number of time steps in the season shall be entered for the Biom.tstep argument.
A four panel plot of data, model predictions, and residual analysis.
The target symbols on the bottom of the tope left panel are the timings of any perturbations set by the user.
In transit fisheries, entry target symbols are in red and exit target symbols are in blue.
Ruben H. Roa-Ureta (ORCID ID 0000-0002-9620-5224)
Roa-Ureta, R. H. 2012. ICES Journal of Marine Science 69(8):1403-1415.
#See examples for CatDynFit().