detect_outliers: Identifies potential outliers

Description Usage Arguments Details Value

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()' 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


prcr documentation built on May 2, 2019, 4:01 p.m.