pain_index | R Documentation |
Mean value of the drawdowns, similar to Ulcer Index
pain_index(x, is_geom = TRUE)
x |
asset returns |
is_geom |
TRUE geometric, FALSE simple |
numeric
xx <- c(0.003,0.026,0.015,-0.009,-0.014,-0.024,0.015,0.066,-0.014,0.039)
pain_index(xx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.