Description Usage Format Examples
A xts object that contains columns of monthly returns for an example of portfolio and its benchmark
1 |
CSV conformed into an xts object with monthly observations
1 2 3 4 5 6 7 8 9 10 | 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.