detect_outliers_mahalanobis: Detect outliers with Mahalanobis

View source: R/S4-Outlier.R

detect_outliers_mahalanobisR Documentation

Detect outliers with Mahalanobis

Description

Uses mahalanobis distance to detect outliers in a data.frame

Usage

detect_outliers_mahalanobis(df, key.name, var.names = NULL)

Arguments

df

A data.frame.

key.name

Character value. The variable that identifies each observation uniquely with its value.

var.names

Character vector. The numeric variables according to which outliers are detected. If NULL, all numeric variable are chosen

Value

A data.frame with columns mahal, pval and <key.name>.


kueckelj/confuns documentation built on June 28, 2024, 9:19 a.m.