rank {timeSeries} | R Documentation |
Return the sample ranks of the values of a 'timeSeries' object.
## S3 method for class 'timeSeries': rank(x, ...)
x |
an univariate object of class timeSeries .
|
... |
arguments to be passed to the default rank function . |
returns the ranks of a timeSeries
object
## data - x = as.timeSeries(data(msft.dat))[, 1:4] x = 100*returns(x) ## rank - rank(x[, "Open"])