powered by
switchEndianess(x, stickyBits=FALSE)
x <- as.binary(c(1,1,0,0), logic=TRUE); print(x); summary(x); y <- switchEndianess(x); print(y); summary(y); y <- switchEndianess(x, stickyBits=TRUE); print(y); summary(y);
Run the code above in your browser using DataLab