| bits {qrcode} | R Documentation |
Create a bits object
Description
Converts a logical vector into a bits object.
This remains a logical vector.
The main difference is that is printed as a 0 and 1 bit string rather
than a FALSE and TRUE vector
Usage
bits(x)
Arguments
x |
a logical vector |
Author(s)
Thierry Onkelinx
See Also
Other bits:
as.character.bits(),
bits2int(),
c.bits(),
print.bits()
Examples
z <- bits(c(FALSE, TRUE))
z
str(z)
[Package qrcode version 0.2.2 Index]