rawToNum {pack} | R Documentation |
Convert raw values to numeric.
rawToNum(x, nBytes = 1)
x |
A raw vector to be converted |
nBytes |
The number of bytes to use |
A numeric value containing the bytes in x
.
Josh Ulrich
# Will be left null padded (x <- numToRaw(421,4)) rawToNum(x,2) rawToNum(x,4)