Description Usage Arguments Examples
This function allows you to plot drawdowns and is based on xts::plot.xts rather than base graphics
1 2 | new.chart.Drawdown(R, geometric = TRUE, legend.loc = NULL,
colorset = (1:12), ...)
|
R |
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns |
geometric |
utilize geometric chaining (TRUE) or simple/arithmetic chaining (FALSE) to aggregate returns, default TRUE |
legend.loc |
places a legend into one of nine locations on the chart: bottomright, bottom, bottomleft, left, topleft, top, topright, right, or center. |
colorset |
color palette to use, set by default to rational choices |
... |
any other passthru parameters |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.