Description Usage Arguments Value
View source: R/find_HDoutliers.R
Find outliers using kNN distance with maximum gap
1 |
data |
A vector, matrix, or data frame consisting of numeric and/or categorical variables. |
alpha |
Threshold for determining the cutoff for outliers. Observations are considered outliers outliers if they fall in the (1- alpha) tail of the distribution of the nearest-neighbor distances between exemplars. |
k |
Number of neighbours considered. |
knnsearchtype |
A character vector indicating the search type for k- nearest-neighbors. |
p |
Proportion of possible candidates for outliers. This defines the starting point for the bottom up searching algorithm. |
tn |
Sample size to calculate an emperical threshold. Default is set to 50. |
The indexes of the observations determined to be outliers and the outlying scores.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.