# NOT RUN {
data(CryptoData)
const.names = c("btc", "eth", "xrp", "ltc", "xmr")
index.weights = c(16136712, 88440036, 36856524148, 49589181, 13859864)
relativeWeights(price = price["2017-02-01", const.names], index.weights = index.weights)
# }
Run the code above in your browser using DataLab