Learn R Programming

qrcode (version 0.3.0)

as.character.bits: Convert a bits object into a character string

Description

Convert a bits object into a character string

Usage

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

Arguments

x

the bits object

...

currently ignore

Author

Thierry Onkelinx

See Also

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

Examples

Run this code
z <- bits(c(FALSE, TRUE, TRUE, FALSE))
z
as.character(z)

Run the code above in your browser using DataLab