switchEndianess | R Documentation |
Switch little-endian to big-endian and vice versa.
switchEndianess(x, stickyBits=FALSE)
x |
binary number. Any binary number. |
stickyBits |
Bits wont change if set TRUE. Only the attribute will be switched. |
switch little-endian to big-endian and vice versa.
fillUpToByte.
x <- as.binary(c(1,1,0,0), logic=TRUE); print(x); summary(x); y <- rdiversity:::switchEndianess(x); print(y); summary(y); y <- rdiversity:::switchEndianess(x, stickyBits=TRUE); print(y); summary(y);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.