Convert binary string to binary or decimal value
You could use the packBits function (in the base package). Bear in mind that this function requires very specific input. (yy <- intToBits(5)) # [1] 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # [26] 00 00 00 … Read more