Description Usage Arguments Value Examples
One Hot Encoding of vector
1 | onehot(x)
|
x |
vector with D possible categorical values (will be coerced to factor) |
matrix with D columns and same number of columns as length of x
1 | onehot(1:5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.