plot_predicted_residuals | R Documentation |
This plots predicted values against residuals including uncertainty, using the fitted and residual functions on a brmsfit object.
plot_predicted_residuals(fit, trend = "loess", type = "ordinary")
fit |
An object of class |
trend |
show a loess smoother or linear line |
type |
The type of the residuals, either "ordinary" or "pearson". |
a ggplot object
Darcy Webber darcy@quantifish.co.nz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.