Description Usage Arguments Details
View source: R/QuantAnalysis.R
Downside volatility
1 | down_vol(ret, freq, mar = 0)
|
ret |
data.frame containing returns |
mar |
minimal acceptable return to define downside, defualt is zero |
The ret
data.frame is filtered to only include returns
below the mar
. The resulting downside volatility is calculated from this
data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.