Convert a bits object into a character string

# S3 method for bits
as.character(x, ...)

Arguments

x

the bits object

...

currently ignore

See also

Other bits: bits2int(), bits(), c.bits(), print.bits()

Author

Thierry Onkelinx

Examples

z <- bits(c(FALSE, TRUE, TRUE, FALSE))
z
#> 0110
as.character(z)
#> [1] "0110"