Learn R Programming

qrcode (version 0.2.2)

print.bits: Print a bits vector Display the logical vector as a bit string where FALSE is shown as 0 and TRUE as 1.

Description

Print a bits vector Display the logical vector as a bit string where FALSE is shown as 0 and TRUE as 1.

Usage

# S3 method for bits
print(x, ...)

Arguments

x

the object to print

...

currently ignored

Author

Thierry Onkelinx

See Also

Other bits: as.character.bits(), bits2int(), bits(), c.bits()

Examples

Run this code
z <- bits(c(FALSE, TRUE))
print(z)

Run the code above in your browser using DataLab