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

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

Arguments

x

the object to print

...

currently ignored

See also

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

Author

Thierry Onkelinx

Examples

z <- bits(c(FALSE, TRUE))
print(z)
#> 01