View source: R/MultinomFuncts.R
Make a dummy matrix version of a vector (reference level = 1)
1 | make_dummy(vec)
|
vec |
Vector containing values from 1 to k, where k is # of levels |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.