powered by
Detect outliers using Bonferroni p values.
ols_test_outlier(model, cut_off = 0.05, n_max = 10, ...)
An object of class lm.
lm
Bonferroni p-values cut off for reporting observations.
Maximum number of observations to report, default is 10.
Other arguments.
# model model <- lm(y ~ ., data = surgical) ols_test_outlier(model)
Run the code above in your browser using DataLab