cv.drawdown: Largest draw down of returns

Description Usage Arguments Examples

View source: R/cv.drawdown.R

Description

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.

Usage

1

Arguments

x

: a numeric vector of returns

Examples

1
2
3
# rnorm() is used to simulate portfolio returns
returns <- rnorm(100)
cv.drawdown(returns)

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to cv.drawdown in YRmisc...