Learn R Programming

qrcode (version 0.3.0)

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(), bits(), bits2int(), c.bits()

Examples

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

Run the code above in your browser using DataLab