Model Matrix
Creates a design matrix from the description. Any character variables are coerced to factors.
get_modelmatrix(x, ...)
x |
An object. |
... |
Passed down to other methods (mainly |
data(mtcars) model <- lm(am ~ vs, data = mtcars) get_modelmatrix(model)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.