model.matrix.formula: Builds a model matrix
Description
Produces a model matrix using expand.formula()
Usage
# S3 method for formula
model.matrix(frml,data,...)
Arguments
...
Additional arguments passed to model.matrix.default()
Details
This is a method function signaled by a formula as the first argument.
It causes the formula to be translated by expand.formula() before calling
model.matrix.default().