View source: R/outlier_stats.R
outlier_stats | R Documentation |
outlier_stats
returns the ordered
studentized residuals (decreasing based on magnitude) of
model
to
Identify the most unusual observations.
outlier_stats(model, n = 6L)
model |
A fitted model object from the
|
n |
an integer vector of length up to |
A vector of statistics.
lmod <- lm(price ~ sqft_living, data = home_sales)
outlier_stats(lmod, n = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.