View source: R/ols-outlier-test.R
ols_test_outlier | R Documentation |
Detect outliers using Bonferroni p values.
ols_test_outlier(model, cut_off = 0.05, n_max = 10, ...)
model |
An object of class |
cut_off |
Bonferroni p-values cut off for reporting observations. |
n_max |
Maximum number of observations to report, default is 10. |
... |
Other arguments. |
# model
model <- lm(y ~ ., data = surgical)
ols_test_outlier(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.