drawdown_info | R Documentation |
Return a list of drawdown info: value, start index, trough index, end index, duration, peak-to-trough, recovery period
drawdown_info(x, is_geom = TRUE)
x |
asset returns |
is_geom |
TRUE geometric, FALSE simple |
list
xx <- c(0.003,0.026,0.015,-0.009,-0.014,-0.024,0.015,0.066,-0.014,0.039)
drawdown_info(xx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.