View source: R/UnivariateNormalScores.R
srank | R Documentation |
Get the sequential rank of observations (X
)
relative to previous observations (Y
).
srank(X, Y = NULL)
X |
vector. New observations to obtain the N¡normal scores. |
Y |
vector. If |
vector. Sequentil Ranks for the X
observations. If ties occurs, average of the ranks are used.
X <- c(30, 35, 45) srank(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.