portfolio_bacon | R Documentation |
A xts object that contains columns of monthly returns for an example of portfolio and its benchmark
portfolio_bacon
CSV conformed into an xts object with monthly observations
data(portfolio_bacon)
#preview the data
head(portfolio_bacon)
#summary period statistics
summary(portfolio_bacon)
#cumulative returns
tail(cumprod(1+portfolio_bacon),1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.