get_dummy | R Documentation |
Internal function. get_dummy
is called by
get_dummies
. Transforms a vector of natural
numbers from 1 to p into the corresponding p x p dummy
matrix
get_dummy(x)
x |
a vector whose elements are non-negative integers from 0 to p |
the dummy matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.