Learn R Programming

simplevis (version 6.2.0)

summarise_boxplot_outliers: Summarise outliers in a dataset or tibble.

Description

Summarise outliers in a dataset or tibble.

Usage

summarise_boxplot_outliers(data, var, ...)

Arguments

data

A tibble or dataframe. Required input. Group the dataset as appropriate prior.

var

Unquoted variable from which to calculate outliers. Required input.

...

Passed to boxplot.stats

Value

A tibble or dataframe.

Examples

Run this code
# NOT RUN {
library(simplevis)
library(dplyr)
library(palmerpenguins)

penguins %>% 
  group_by(species) %>% 
  summarise_boxplot_outliers(body_mass_g)

# }

Run the code above in your browser using DataLab