Skip to contents

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 class 'bits'
print(x, ...)

Arguments

x

the object to print

...

currently ignored

See also

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

Author

Thierry Onkelinx

Examples

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