View source: R/check_residuals.R
check_residuals_trend | R Documentation |
Calculates loess fit for residuals and then extracts statistics that shows how far is this fit from one without trend
check_residuals_trend(object, B = 20)
object |
An object of class 'explainer' created with function |
B |
number of samplings |
standardized loess fit for residuals
library(DALEX)
dragons <- DALEX::dragons[1:100, ]
lm_model <- lm(life_length ~ ., data = dragons)
lm_exp <- explain(lm_model, data = dragons, y = dragons$life_length)
library(auditor)
check_residuals_trend(lm_exp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.