Description Usage Arguments Details Value Author(s) Examples
Takes a dataset and finds its outliers using combination of different method
1 2 3 |
x |
dataset for which outliers are to be found |
k |
No. of nearest neighbours to be used for for outlier detection using bootstrapping, default value is 0.05*nrow(x) |
cutoff |
Percentile threshold used for distance, default value is 0.95 |
Method |
Distance method, default is Euclidean |
rnames |
Logical value indicating whether the dataset has rownames, default value is False |
depth |
Logical value indicating whether depth based method should be used or not, default is False |
dense |
Logical value indicating whether density based method should be used or not, default is False |
distance |
Logical value indicating whether distance based methods should be used or not, default is False |
dispersion |
Logical value indicating whether dispersion based methods should be used or not, default is False |
OutlierDetection finds outlier observations for the data using different methods and based on all the methods considered, labels an observation as outlier(intersection of all the methods). For bivariate data, it also shows the scatterplot of the data with labelled outliers.
Outlier Observations: A matrix of outlier observations
Location of Outlier: Vector of Sr. no. of outliers
Vinay Tiwari, Akanksha Kashikar
1 | OutlierDetection(iris[,-5])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.