This plots predicted values against residuals including uncertainty, using the fitted and residual functions on a brmsfit object.
Arguments
- fit
An object of class
brmsfit
.- data
a data frame with the same dimensions as the model data
- year
the year column
- groups
the grouping/facet variable
Author
Darcy Webber darcy@quantifish.co.nz