Learn R Programming

⚠️There's a newer version (0.3.9) of this package.Take me there.

binaryLogic (version 0.2.6)

Binary Logic

Description

Convert to binary numbers (Base2). Shift, rotate, summary. Based on logical vector.

Copy Link

Version

Install

install.packages('binaryLogic')

Monthly Downloads

18

Version

0.2.6

License

GPL-3 + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Daniel Dörrhöfer

Last Published

December 18th, 2015

Functions in binaryLogic (0.2.6)

bytesNeeded

Minimum number of "byte" needed to hold n "bit"
binAdd

Binary Addition (+)
loadAttributes

loadAttributes Helper function load Attributes
print.binary

Print method for binary number.
negate

Binary Negation (!)
rotate

Rotate no carry ()
fillUpToBit

Fill up to bit (000..)
byte

A simple helper function to return the size of one byte
Ops.binary

Group Generic Ops
binaryLogic

Binary Logic GNU R Package
shiftLeft

Binary Left Shift (<<)
as.binary

as binary digit.
shiftRight

Binary Right Shift (>>)
is.binary

is Binary Vector
binSeq

Binary sequence
saveAttributes

saveAttributes Helper function save Attributes
binary

Binary digit.
binaryPrefix

Binary prefix (KiB,MiB,..)
switchEndianess

Switch Endianess.
summary.binary

Summary method for binary number.
fillUpToByte

Fill up to Byte (00000000..)