Learn R Programming

qrcode (version 0.2.2)

qr_matrix: Prepare matrices with default patterns and unmasked data A list with a matrix containing the default patterns (finder pattern, timing pattern, separators, alignment pattern and dark module), the unmask data pattern and the version.

Description

Prepare matrices with default patterns and unmasked data A list with a matrix containing the default patterns (finder pattern, timing pattern, separators, alignment pattern and dark module), the unmask data pattern and the version.

Usage

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

Author

Thierry Onkelinx

See Also

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

Examples

Run this code
qr_matrix("HELLO WORLD")

Run the code above in your browser using DataLab