detect_outliers: Detect Outliers

Description Usage Arguments Value Examples

View source: R/detect_outliers.R

Description

Detect outliers in the given list Returns a threshold value for the lower bound and upper bound of the outliers and Plot a violin plot of the observations

Usage

1
detect_outliers(s, width = 150, height = 150)

Arguments

s

list of double that contains the data

width

The width of ggplot. Default set to 150

height

The height of ggplot. Default set to 150

Value

List of double A Threshold value for the lower bound and upper bound of the outliers

ggplot object A Boxplot of the given values and outliers

Examples

1
detect_outliers(c(1,1,2,3,4,5,6,9,10,13,40), 150, 150)

UBC-MDS/snapedautilityR documentation built on Feb. 5, 2022, 10:35 p.m.