plot_implied_residuals: Plots predicted values versus residuals

View source: R/plot-resids.R

plot_implied_residualsR Documentation

Plots predicted values versus residuals

Description

This plots predicted values against residuals including uncertainty, using the fitted and residual functions on a brmsfit object.

Usage

plot_implied_residuals(fit, data = NULL, year = "Year", groups = "Species")

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

Value

a ggplot object

Author(s)

Darcy Webber darcy@quantifish.co.nz


quantifish/influ2 documentation built on Dec. 14, 2024, 5:10 a.m.