Search for outliers using robust measures of location and scatter
Description
Search for outliers using robust measures of location and scatter, which are used to compute robust analogs of Mahalanobis distance.
x is an n by p matrix or a vector of data.
The function returns the values flagged as an outlier plus the (row) number where the data point is stored. If x is a vector, out.id=4 indicates that the fourth observation is an outlier and outval=123 indicates that 123 is the value. If x is a matrix, out.id=4 indicates that the fourth row of the matrix is an outlier and outval reports the corresponding values.
The function also returns the distance of the points identified as outliers in the variable dis.
For bivariate data, if plotit=T, plot points and circle outliers.
Usage
1 
Arguments
x 
A vector, or a 2dim matrix 
cov.fun 
cov.fun determines how the measure of scatter is estimated. Possible choices are:

plotit 
Should a plot be drawn? Only works for bivariate data 
SEED 
Set the random seed for reproducible results 
xlab 

ylab 

qval 

crit 

... 
Further arguments 