Description Usage Arguments Value
View source: R/binary_vector_gen.R
Make a binary vector with all values equal to zero except for one
1 | binary_vector_gen(n, i)
|
n |
Desired vector length. |
i |
Index whose value is one. |
A vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.