Take a lm object, and some arguments to streamline modelling.
1 2 |
x |
data.table with all the data for modelling. |
formula |
an object of class "formula" (or one that can be coerced to that class): a symbolic description of the model to be fitted. |
conf.level |
confidence level, default = 95%. |
data.index |
Character. The date index of the lm(data = ?) variable. |
test.dep.varCharacter. |
Defaults to FALSE which replaces ".Train" in the dependent variable (from lm.object), with ".Train". If you know that variable doesn't exist, enter the variable name here. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.