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
.- trend
show a loess smoother or linear line
- type
The type of the residuals, either "ordinary" or "pearson".
Author
Darcy Webber darcy@quantifish.co.nz