R/residuals.R

Defines functions residuals.iv_robust

#' @exportS3Method residuals iv_robust
residuals.iv_robust <- function(object, ...) {
  datawizard::to_numeric(insight::get_response(object, verbose = FALSE), dummy_factors = FALSE, preserve_levels = TRUE) - object$fitted.values
}
easystats/performance documentation built on March 4, 2025, 7:10 p.m.