Plot of data passed into a gadget model
g3d_plot.RdPlot all observational data from a gadget model
Arguments
- model
R or TMB model. A model object from g3_to_r or g3_to_tmb functions.
- regexp
Either
NULL(no filtering) or a character string giving a regular expression to filter model-data components. Useful alternatives:"adist"for abundance distribution data,"cdist"for catch distribution data,"surveyindices"for survey indices, and"catch"for catches.- scales
Character defining the
facet_wrapscalesargument to use.- ncol
Number of columns passed to
facet_wrap- base_size
Base size parameter for ggplot. See ggtheme.
Value
A list of ggplot objects.