No. of nearest neighbours to be used for distance methods, default value is 0.05*nrow(x)
cutoff
Percentile threshold used for outlier detection using bootstrapping, default value is 0.95
dist
Logical value indicating whether distance based methods should be used or not, default is False
dens
Logical value indicating whether density based method should be used or not, default is False
depth
Logical value indicating whether depth based method should be used or not, default is False
Method
Distance method, default is euclidean
rnames
Logical value indicating whether the dataset has rownames, default value is False
Value
Outlier Observations: A vector of outlier observations
Location of Outlier: Vector of Sr. no. of outliers
Details
UnivariateOutlierDetection finds outlier observations for an univariate data using different methods and based on all the methods, labels an observation as outlier(intersection of all the methods). It also shows the scatterplot of the data with labelled outliers with observation no. as x-axis.
# NOT RUN {#Create datasetX=iris[,1:4]
#Outlier detectiondepthout(X,cutoff=0.05)
UnivariateOutlierDetection(iris[,1],cutoff=.95,Method="euclidean",rnames=FALSE)
# }