update_weights | R Documentation |
Updates weights in a expression with MIDAS term
update_weights(expr, tb)
expr |
expression with MIDAS term |
tb |
a named list with redefined weights |
For a MIDAS term fmls(x, 6, 1, nealmon)
change weight nealmon
to another weight.
an expression with changed weights
Vaidotas Zemlys
update_weights(y~trend+mls(x,0:7,4,nealmon)+mls(z,0:16,12,nealmon),list(x = "nbeta", z = ""))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.