spatial.outlier {depth.plot} | R Documentation |
spatial.outlier
is used to find the multivariate spatial outlier within a p-variate data cloud or to identify if any p-variate observation is an outlier with respect to a p-variate data cloud.
spatial.outlier(data, x = data, threshold = 0.05)
data |
A matrix or a data.frame of p-variate observations which works as the data cloud. |
x |
A matrix or a data.framep-variate to test whether is an outlier with respect to the |
threshold |
A decimal threshold between |
FALSE
:: If there doesnot exist any outlier
A list with objects (If outliers exist)
index
:: Returns the indices of the outliers
observation
:: Returns the p-variate outliers
Somedip Karmakar <somedip@yahoo.co.in>
Omker Mahalanobish <omker.scorpio@gmail.com>
u<-matrix(rnorm(60,0,1),ncol=3) u0<-matrix(runif(9,3,4),ncol=3) spatial.outlier(u,rbind(u,u0))