Description Usage Arguments Value Examples
View source: R/expectationPlot.R
This function takes an xts object of manager returns, an expected ex-ante Sharpe ratio vector and and ex-ante volatility vector and plots cone charts for each of the managers. The plots have the expected growth trajectory as well as one and two standard deviation bands. This helps detect whether performance of the manager is progressing in line with ex-ante expectations.
1 2 | expectationPlot(x, exp.sharpe, exp.ann.vol, scale = 12, cols = 1,
auto.arrange = TRUE, mytheme = theme_bw(base_size = 10))
|
x |
an xts object of returns. |
exp.sharpe |
a vector of ex-ante Sharpe ratios for each of the assets. |
exp.ann.vol |
a vector of annualized volatilities for each asset. |
scale |
the annualization factor for the returns. (eg. 12 = monthly) |
cols |
the number of columns in the graphics window. |
auto.arrange |
set to FALSE if you want to specify the number of columns in the plot. Otherwise, funds will be auto-arranged in plot window. |
mytheme |
a valide ggplot2 theme. Default is theme_bw. |
... |
additional pass-through paramaters for chart.Timeseries |
a series of expectation plots for each asset in x.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.