2
$\begingroup$

Dear Stack Exchange community,

Using Performance Analytics package, chart.Drawdown, I would like to plot several drawdowns curves on the same plot to be able to visually compare them.

I know how to plot one drawdown curve using:

chart.Drawdown(R, geometric = TRUE, legend.loc = NULL, colorset = (1:12))

Is it possible to plot several curves? Can someone help me on that? Best. Joe.

$\endgroup$
2

1 Answer 1

4
$\begingroup$

No problem, just have a look at the following example from the documentation (p. 49):

data(edhec)
chart.Drawdown(edhec[ , c(1, 2)], 
     main = "Drawdown from Peak Equity Attained", 
     legend.loc = "bottomleft")

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.