rawToNum | 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
.
Joshua M. Ulrich
numToRaw
# Will be left null padded
(x <- numToRaw(421,4))
rawToNum(x,2)
rawToNum(x,4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.