Description Usage Arguments Value
tx_k_onehot
1 | tx_onehot(x)
|
x |
A string vector |
transforms a k-level factor vector into a n*k matrix (one-hote encoding)x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.