make_model_matrices: Make Model Matrices

Description Usage Arguments Examples

View source: R/make-model-matrices.R

Description

Make design matrices and outcome for regression models

Usage

1

Arguments

form

a formula object, e.g. y ~ x1 + x2

data

a data frame

Examples

1
2
data(iris)
make_model_matrices(form = Sepal.Length ~ ., data = iris)

tqchen07/bis557 documentation built on Dec. 21, 2020, 3:06 a.m.