paste_factory | R Documentation |
'paste_factory()' constructs the right hand side of the regression as a a string i.e. "x + control1 + control2".
paste_factory(controls, x)
controls |
A vector of strings containing control variable names. |
x |
A string containing the independent variable name. |
A string concatenating independent and control variables separated by '+'.
paste_factory(controls = c("control1", "control2"),
x = "independentVariable");
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.