Learn R Programming

qrcode (version 0.2.2)

qr_error: Create the message and error code bit string

Description

The function returns a bit string containing the message.

Usage

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

Value

The message as a bits() object.

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".

Author

Thierry Onkelinx

See Also

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

Examples

Run this code
qr_error("HELLO WORLD")

Run the code above in your browser using DataLab