Description Usage Arguments Details Value
View source: R/QuantAnalysis.R View source: R/TimeSeriesUtility.R
Excess return time-series
Net y returns from all x returns
1 2 3 | excess_ret(x, y, freq)
excess_ret(x, y, freq)
|
x |
data.frame of univarate or multivariate returns |
y |
data.frame of univariate return |
freq |
character to specify common or desired frequency |
x
and y
will be converted to freq
. Each
time-series or column in x
will have y
subtracted from it.
y
is a one time-series (e.g., a common benchmark or risk-free rate).
data.frame of x
that is net of y
data.frame of x
returns that are net of y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.