outlier: Identifies outliers using a robust z-score

View source: R/outlier.R

outlierR Documentation

Identifies outliers using a robust z-score

Description

This function takes a dataframe and one argument (i.e. the number of median absolute deviations outside which to assign a particular data point as an outlier).

Usage

outlier(data, n = 3)

Arguments

data

the data frame for which outliers need to be found

n

the number of median absolute deviations from the median outside which to assign a datum as an outlier (default = 3)

Value

the dataframe with outlier status (1, 0) for all the numerical variables


farhadsalimi/registryr documentation built on June 24, 2022, 12:23 a.m.