View source: R/check_residuals.R
| check_residuals_outliers | R Documentation | 
Outlier checks
check_residuals_outliers(object, n = 5)
| object | An object of class 'explainer' created with function  | 
| n | number of lowest and highest standardized residuals to be presented | 
indexes of lowest and highest standardized residuals
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.