Description Usage Arguments Value Author(s) Examples
One-hot encode a factor
1 | onehotEncode(x)
|
x |
A factor |
A matrix of ones and zeros with length(x) rows and length(levels(x)) columns. If there is only one level returns a vector.
Edwin Graham <edwingraham1984@gmail.com>
1 | normalise(0:100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.