revbin | R Documentation |
reverse of bin function i.e., returns which elements of a binary vector is 1
revbin(x)
x |
a vector with 0 and 1s such that there is only 1 |
a postive integer m
revbin(c(0,1,0,0));
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.