Learn R Programming

quickOutlier (version 0.1.0)

scan_data: Scan Entire Dataset for Outliers

Description

Iterates through all numeric columns in the dataset and provides a summary table of outliers found.

Usage

scan_data(data, method = "iqr")

Value

A summary data frame with columns: Column, Outlier_Count, and Percentage.

Arguments

data

A data frame.

method

"iqr" or "zscore". Defaults to "iqr".

Examples

Run this code
df <- data.frame(
  a = c(1:10, 100),
  b = c(1:10, 1)
)
scan_data(df, method = "iqr")

Run the code above in your browser using DataLab