bits2int | R Documentation |
Convert a bits object to an integer and vice versa
bits2int(x) int2bits(i, n_bit = 16)
x |
the bits object |
i |
the integer |
n_bit |
the number of bits |
Thierry Onkelinx
Other bits:
as.character.bits()
,
bits()
,
c.bits()
,
print.bits()
z <- bits(c(FALSE, TRUE, TRUE, FALSE)) z y <- bits2int(z) y int2bits(y) int2bits(y, 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.