Skip to contents

The message converted into a bit string.

Usage

qr_encode(x, ecl = c("L", "M", "Q", "H"))

Arguments

x

the input string

ecl

the required error correction level. Available options are "L" (7%), "M" (15%), "Q" (25%) and "H" (30%). Defaults to "L".

See also

Other internal: qr_error(), qr_matrix(), qr_mode(), qr_version()

Author

Thierry Onkelinx

Examples

qr_encode("HELLO WORLD")
#> 00100000010110110000101101111000110100010111001011011100010011010100001101