Description Usage Arguments Value Examples
View source: R/convert_dec2bin.R
Takes an integer and returns an unsigned vector bits representing the same value
1 | convert_dec2bin(x,len=32)
|
x |
Integer |
len |
Number of bits to represent integer with. Will crop most significant bits if insufficient length. |
Vector of bits with MSB first
1 2 | convert_dec2bin(10)
convert_dec2bin(10,8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.