identify_outliers {vvauditor}R Documentation

Identify Outliers in a Data Frame Column

Description

This function identifies outliers in a specified column of a data frame. It returns a tibble containing the unique values, tally, and whether it is an outlier or not.

Usage

identify_outliers(df, var)

Arguments

df

The data frame.

var

The column to check for outliers.

Value

A tibble containing the unique values, tally, and whether each value is an outlier or not.

Examples

df <- data.frame(a = c(1, 2, 3, 100, 101), b = c(4, 5, 6, 7, 8), c = c(7, 8, 9, 100, 101))
outliers <- identify_outliers(df, "a")
print(outliers)


[Package vvauditor version 0.6.0 Index]