Description Usage Arguments Details Value
.designMatrix
creates a design matrix by expanding factors to a set of
dummay variables and epanding interactions similarly.
1 | .designMatrix(data, cols = NULL)
|
data |
A |
cols |
A numeric vector. Specify columns to include in the design of model matrix. Default is to include all columns. |
.designMatrix
creates a design matrix using the data extracted from
data
. cols
specifies the columns to extract.
.designMatrix
is built on model.matrix
with
contrasts.arg = NULL
.
a matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.