The `plot()`

method for the `performance::check_outliers()`

function.

## Arguments

- x
An object.

- size_text
Numeric value specifying size of text labels.

- size_line
Numeric value specifying size of line geoms.

- base_size, size_axis_title, size_title
Numeric value specifying size of axis and plot titles.

- dot_alpha
Numeric value specifying alpha level of the point geoms.

- colors
Character vector of length two, indicating the colors (in hex-format) for points and line.

- rescale_distance
Logical. If

`TRUE`

, distance values are rescaled to a range from 0 to 1. This is mainly due to better catch the differences between distance values.- type
Character vector, indicating the type of plot. Options are

`"dots"`

(default) for a scatterplot of leverage (hat) values versus residuals, with Cook's Distance contours for evaluating influential points, or`"bars"`

for a bar chart of (rescaled) outlier statistic values for each data point. Only used for outlier plots of fitted models; for outlier plots of raw data values,`type = "bars"`

is always used.- show_labels
Logical. If

`TRUE`

, text labels are displayed.- ...
Arguments passed to or from other methods.

## Examples

```
library(performance)
data(mtcars)
mt1 <- mtcars[, c(1, 3, 4)]
mt2 <- rbind(
mt1,
data.frame(mpg = c(37, 40), disp = c(300, 400), hp = c(110, 120))
)
model <- lm(disp ~ mpg + hp, data = mt2)
plot(check_outliers(model))
```