ustats_outlier: Outlier detection using multiple statistical tests

View source: R/ustats_outlier.R

ustats_outlierR Documentation

Outlier detection using multiple statistical tests

Description

This function computes an out_score for each value in a selected column. The score increases when a value is flagged as an outlier by one or more tests: IQR test, quantile cutoffs, and Hampel filter.

Usage

ustats_outlier(dt, check_col = "ppm", verbose = FALSE, ...)

Arguments

dt

A data.table or data.frame.

check_col

A character string naming the column to test for outliers.

verbose

Logical; print summary statistics when TRUE.

...

Additional arguments passed to methods.

Value

A data.table containing new columns: out_score, out_box, out_quantile, and out_hampel.

Examples

ustats_outlier(mf_data_demo, check_col = "ppm")


ume documentation built on Dec. 13, 2025, 1:06 a.m.