Description Usage Arguments Value See Also Examples
Apply a rank function to an xts
price history.
1 | apply_rank(x, rank_fun, ...)
|
x |
the price history as an |
rank_fun |
the ranking function to apply |
... |
any parameters passed to the rank function |
the result of the given rank function
ave_3ROC, weight_ave_3ROC, strength_ROC
1 2 3 4 5 6 7 | ## Not run:
library(quantmod)
getSymbols(XLE,auto.assign=TRUE)
rv <- apply_rank(XLE,ave_3ROC)
head(rv)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.