Description Usage Arguments Value Author(s) Examples
Used to compute the Spatial Rank
of a p-variate observation with respect to a p-variate data cloud.
1 | 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>
1 2 3 | u<-matrix(rnorm(90,0,1),ncol=3)
u0<-runif(3,0,1)
spatial.rank(u0,u)
|
[1] 0.2777756 0.2411802 0.3956677
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.