int2bin | R Documentation |
The function int2bin converts integers to binary coded numbers.
int2bin(int, m)
int |
Input number (integer) |
m |
Number of the digits of output value. |
Returns the binary coded number of the integer number given in the input.
Zeynel Cebeci & Erkut Tekeli
int2bin
int2bin(250) # returns 11111010 int2bin(250, 9) # returns 011111010
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.