Learn R Programming

qrcode (version 0.2.2)

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