View source: R/get_modelmatrix.R
get_modelmatrix | R Documentation |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.