Description Usage Arguments Value Examples
Make n hot vector.
1 | nHot(x, len, out = "matrix")
|
x |
[ |
len |
[ |
out |
[ |
[matrix(1, len)
] A one-row matrix with len
columns with every
entry 0 except the columns specified by x
which are 1.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.