Description Usage Arguments Details Value Examples
Given a list of factors, return the matrix of dummies as a sparse matrix.
1 | makeDmatrix(fl, weights = NULL)
|
fl |
list of factors. |
weights |
numeric vector. Multiplied into the rows. |
The function returns the model matrix for a list of factors. This matrix is not used internally by the package, but it's used in some of the documentation for illustrative purposes.
Returns a sparse matrix.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.