powered by
Takes a vector of unsigned bits with MSB first and produces integer value
convert_bin2dec(b)
Vector of bits with most significant bits first
Integer value of bits
# NOT RUN { convert_bin2dec( c(1,0,0) ) # }
Run the code above in your browser using DataLab