bin2int | R Documentation |
The function bin2int converts a binary coded number to integer.
bin2int(bin)
bin |
A binary coded number. |
The bin2int function works as a compliment of the int2bin function.
Returns the integer equivalent of the input number.
Zeynel Cebeci & Erkut Tekeli
int2bin
x <- c(1,1,1,1,1,0,1,0,0) bin2int(x) # returns 500
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.