sortDrawdowns: order list of drawdowns from worst to best

Description Usage Arguments Details Author(s) References See Also Examples

View source: R/sortDrawdowns.R

Description

sortDrawdowns(findDrawdowns(R)) Gives the drawdowns in order of worst to best

Usage

1

Arguments

runs

pass in runs array from findDrawdowns to be sorted

Details

Returns a sorted list:

Author(s)

Peter Carl
modified with permission from prototype function by Sankalp Upadhyay

References

Bacon, C. Practical Portfolio Performance Measurement and Attribution. Wiley. 2004. p. 88

See Also

DownsideDeviation
maxDrawdown
findDrawdowns
sortDrawdowns
chart.Drawdown
table.Drawdowns
table.DownsideRisk

Examples

1
2
3
data(edhec)
findDrawdowns(edhec[,"Funds of Funds", drop=FALSE])
sortDrawdowns(findDrawdowns(edhec[,"Funds of Funds", drop=FALSE]))

PerformanceAnalytics documentation built on May 21, 2017, 1:16 a.m.

Search within the PerformanceAnalytics package
Search all R packages, documentation and source code