A set of functions to plot data variables and predicted values (catch, age composition, etc.)
Usage
plot_catch(fit, f = 1, by = c("region", "stock"), prop = FALSE, annual = FALSE)
plot_index(fit, i = 1, zoom = FALSE)
plot_CAA(fit, f = 1, r = 1, do_mean = FALSE)
plot_CAL(fit, f = 1, r = 1, do_mean = FALSE)
plot_IAA(fit, i = 1, do_mean = FALSE)
plot_IAL(fit, i = 1, do_mean = FALSE)
plot_SC(fit, ff = 1, aa = 1, r = 1, prop = FALSE)
plot_tagmov(fit, s = 1, yy = 1, aa = 1)Arguments
- fit
- f
Integer, indexes the fleet
- by
Character to indicate dimension for multivariate plots
- prop
Logical, whether to plot proportions (TRUE) or absolute numbers
- annual
Logical, whether to plot annual values (summed over seasons)
- i
Integer, indexes the survey
- zoom
Logical, for
plot_index(). IfTRUE, plots a subset of years with observed data points. Otherwise, plots predicted values over all model years.- r
Integer, indexes the region
- do_mean
Logical, whether to plot full compositions or time series of mean length or mean age
- ff
Integer, indexes the aggregate fleet (for stock composition data)
- aa
Integer, indexes the aggregate age class (for stock composition and tag data)
- s
Integer, indexes the stock
- yy
Integer, indexes the aggregate years (for the tag data)
Details
plot_catchplots the fishery catch by stock or region (either whole numbers or proportions)
plot_indexplots indices of abundance
plot_CAAplots the fishery catch at age
plot_CALplots the catch at length
plot_IAAplots the index age composition
plot_IALplots the index length composition
plot_SCplots the stock composition
plot_tagmovplots the tag movements