Description Usage Arguments Examples
View source: R/make-model-matrices.R
Make design matrices and outcome for regression models
1 | make_model_matrices(form, data)
|
form |
a formula object, e.g. y ~ x1 + x2 |
data |
a data frame |
1 2 | data(iris)
make_model_matrices(form = Sepal.Length ~ ., data = iris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.