detect_outliers {prcr} | R Documentation |
Identifies potential outliers
Description
Identifies potential outliers
Usage
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
[Package prcr version 0.2.1 Index]