Description Usage Arguments Value Examples
Create scores: mean or if any of the variables have specific values.
1 | mi(dat, vars)
|
dat |
'data.table' object. |
vars |
Character vector with name of variables. |
'data.table' with indicator variables. Missing data are replaced by the mean (numeric and interger) and the mode (factors).
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.