Description Usage Arguments Value
Creates a data.frame with all dummy variables and transformed variables described in formula
1 2 | expanded.regression.data(formula, data = parent.frame(),
normalize.names = TRUE, remove.intercept = TRUE, ...)
|
formula |
a regression formula e.g. y~log(x1)+x2 |
data |
a data frame that contains original variables used in formula |
normalize.names |
if TRUE (default) change column names to be valid R variable names |
remove.intercept |
if TRUE (default) do not generate an .Intercept column |
a data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.