qr_error {qrcode}R Documentation

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

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

Value

The message as a bits() object.

Author(s)

Thierry Onkelinx

See Also

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

Examples

qr_error("HELLO WORLD")

[Package qrcode version 0.2.2 Index]