View source: R/formula_tools.R
glue_formula | R Documentation |
glue
syntaxThis function is specifically designed for dynamically evaluating formulas with time indices. As such, it will delete any formula elements referring to times less than 0.
glue_formula(string, ...)
string |
chr. Expressions enclosed in braces will be evaluated as R code (see |
... |
additional arguments. Here you can pass variables to be evaluated in enclosed expressions in |
glue_formula('~L{t}*L{t-1}+L{t-2}', t=2) glue_formula('~L{t}*L{t-1}+L{t-2}', t=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.