bin | R Documentation |
binary representation of x (an element from 1 to m) with m components
bin(x, m)
x |
a positive integer less than or equal to m |
m |
number of components, a positive integer |
a vector with elements 1 and 0
bin(x = 2, m = 4);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.