bin2int {adana} | 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
x <- c(1,1,1,1,1,0,1,0,0)
bin2int(x) # returns 500