Description Usage Arguments Value Author(s)
function to produce a design matrix given a dataset and user-specified formula object
1 | get_mod_matrix(Cur.dat, stacked.names, factor.ind, Det.formula, Levels)
|
Cur.dat |
current dataset |
stacked.names |
column names for current dataset |
factor.ind |
a list of indicator variables (1 = factor/categorical variable, 0 = continuous variable) |
Det.formula |
a formula object |
Levels |
A list object giving the number of levels for factor variables |
a design matrix
Paul B. Conn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.