powered by
Extract residuals from qbrms models
# S3 method for qbrms_fit residuals(object, type = "response", ...)
Numeric vector of residuals
A qbrms_fit object
Character string indicating type of residuals (default: "response")
Additional arguments (currently unused)
if (FALSE) { fit <- qbrms(mpg ~ hp, data = mtcars, family = gaussian()) resid_values <- residuals(fit, type = "response") }
Run the code above in your browser using DataLab