## Load Microsoft Data -
data(MSFT)
X = 100 * returns(MSFT)
## Compute the Ranks -
head(rank(X[, "Open"]), 10)
## Only Interested in the Vector, then use -
head(rank(series(X[, "Open"])), 10)
Run the code above in your browser using DataLab