plot_outliers: plot the outliers

Description Usage Arguments Examples

View source: R/plot_outliers.R

Description

The 'plot_outliers' function below draws a boxplot and a scatterplot of a numeric variable x and plots the values of the outliers (currently not offset, even if they overlap). For relatively small datasets, it can be a quick way to identify which outliers look reasonable and which are likely a result of transcription or measurement error, and thus should be either corrected or discarded.

Usage

1
plot_outliers(x, val_col = "blue", ...)

Arguments

x

vector

Examples

1
2
plot_outliers(airquality$Wind, col = "darkgreen", main = "wind")
[Plot outliers and their values | modTools](https://modtools.wordpress.com/2020/03/13/plot-outliers-and-their-values/)

jixing475/manuscriptsJX documentation built on April 20, 2020, 9:55 a.m.