detect_outliers: Identifies potential outliers

Description Usage Arguments Details Value

View source: R/helpers_clusters.R

Description

Identifies potential outliers

Usage

1
detect_outliers(df, return_index = TRUE)

Arguments

df

data.frame (or tibble) with variables to be clustered; all variables must be complete cases

return_index

Boolean (TRUE or FALSE) for whether to return only the row indices of the possible multivariate outliers; if FALSE, then all of the output from the function (including the indices) is returned

Details

* add an argument to ‘create_profiles_cluster()' to remove multivariate outliers based on Hadi’s (1994) procedure

Value

either the row indices of possible multivariate outliers or all of the output from the function, depending on the value of return_index


jrosen48/prcr documentation built on Feb. 9, 2020, 5:15 p.m.