spatial.rank {depth.plot} | R Documentation |
Used to compute the Spatial Rank
of a p-variate observation with respect to a p-variate data cloud.
spatial.rank(x, data)
x |
A numeric p-variate vector whose spatial rank is to be calculated. |
data |
A matrix or a data.frame with each row as a p-variate observation. |
The spatial rank of x
with respect to data
.
Somedip Karmakar <somedip@yahoo.co.in>
Omker Mahalanobish <omker.scorpio@gmail.com>
u<-matrix(rnorm(90,0,1),ncol=3)
u0<-runif(3,0,1)
spatial.rank(u0,u)