
Regression-diagnostic plots via performance
Source:R/extenders_stats.R
morie_performance_check_model.RdThin extender over performance::check_model that returns
the diagnostic-plot grob list for a fitted model.
Arguments
- model
A fitted model object supported by insight / performance.
- ...
Further arguments forwarded to
performance::check_model(e.g.check,panel,theme).
Examples
if (requireNamespace("performance", quietly = TRUE) &&
requireNamespace("see", quietly = TRUE)) {
set.seed(1)
df <- data.frame(y = rnorm(50), x = rnorm(50))
res <- morie_performance_check_model(stats::lm(y ~ x, df))
class(res)
}
#> [1] "list"