Description Usage Arguments Examples
Calculate largest draw down of a series of returns. This function calculates the maximum decrease in percentage over time, which can be used to test portfolio returns.
1 | cv.drawdown(x)
|
x |
: a numeric vector of returns |
1 2 3 | # rnorm() is used to simulate portfolio returns
returns <- rnorm(100)
cv.drawdown(returns)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.