Basically a wrapper for model.matrix(~ x, ...).
model.matrix(~ x, ...)
u(x, ...)
x
covariate
...
arguments passed to model.matrix
model.matrix
a design matrix for x
Fabian Scheipl