bbk.data | R Documentation |
fetches data required to compute standard model output
bbk.data(x, y, n, w, h, u, v, g, r, s)
x |
= a matrix/data frame (predictors) |
y |
= a matrix/data frame (total return indices) |
n |
= a positive integer (flow window in days/months) |
w |
= a boolean (sum/compound) |
h |
= a non-negative integer (lag in days/months) |
u |
= a non-negative integer (delay in days/months) |
v |
= a non-negative integer (0 = Sun, 1 = Mon, etc., the day you trade) |
g |
= a positive integer (return window in days/months) |
r |
= a string (index within which you trade) |
s |
= a boolean (spread changes/returns) |
Other bbk: bbk.bin.rets.prd.summ
,
bbk.bin.rets.summ
,
bbk.bin.xRet
, bbk.drawdown
,
bbk.fwdRet
, bbk.holidays
,
bbk.matrix
, bbk.summ
,
bbk.turnover
, bbk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.