check_residuals_outliers: Checks for outliers

View source: R/check_residuals.R

check_residuals_outliersR Documentation

Checks for outliers

Description

Outlier checks

Usage

check_residuals_outliers(object, n = 5)

Arguments

object

An object of class 'explainer' created with function explain from the DALEX package.

n

number of lowest and highest standardized residuals to be presented

Value

indexes of lowest and highest standardized residuals

Examples

dragons <- DALEX::dragons[1:100, ]
lm_model <- lm(life_length ~ ., data = dragons)
lm_audit <- audit(lm_model, data = dragons, y = dragons$life_length)
check_residuals_outliers(lm_audit)

ModelOriented/auditor documentation built on Oct. 31, 2023, 8:38 a.m.