library(xts)
library(portfolioBacktest)
data(prices)
kk <- 2
for (i in 1:ncol(prices[[kk]])) {
print(plot(prices[[kk]][, i]))
readline(prompt="Press [enter] to continue")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.