qrencode: Return a QR encoded string as a matrix

Description Usage Arguments Examples

View source: R/qrencode_helpers.R

Description

Useful if you want to do your own post-processing

Usage

1
qrencode(to_encode)

Arguments

to_encode

the data to encode

Examples

1
qrencode("http://rud.is/b")

Example output

Loading required package: raster
Loading required package: sp
      [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13]
 [1,]    1    1    1    1    1    1    1    0    1     0     0     0     0
 [2,]    1    0    0    0    0    0    1    0    1     1     1     1     0
 [3,]    1    0    1    1    1    0    1    0    0     0     1     1     1
 [4,]    1    0    1    1    1    0    1    0    1     0     1     1     0
 [5,]    1    0    1    1    1    0    1    0    0     1     1     0     1
 [6,]    1    0    0    0    0    0    1    0    0     0     1     0     0
 [7,]    1    1    1    1    1    1    1    0    1     0     1     0     1
 [8,]    0    0    0    0    0    0    0    0    1     0     0     1     0
 [9,]    0    1    1    0    1    1    1    1    0     0     1     1     1
[10,]    1    1    1    1    0    0    0    1    1     0     0     1     0
[11,]    0    0    0    0    0    0    1    1    1     0     0     1     0
[12,]    0    1    1    1    0    1    0    0    0     1     0     1     0
[13,]    1    0    0    0    0    0    1    1    0     1     1     1     1
[14,]    0    0    0    0    0    0    0    0    0     1     1     0     1
[15,]    1    1    1    1    1    1    1    0    1     0     0     1     0
[16,]    1    0    0    0    0    0    1    0    1     0     1     0     1
[17,]    1    0    1    1    1    0    1    0    1     1     0     1     0
[18,]    1    0    1    1    1    0    1    0    0     0     0     1     1
[19,]    1    0    1    1    1    0    1    0    1     0     1     0     0
[20,]    1    0    0    0    0    0    1    0    1     0     0     1     0
[21,]    1    1    1    1    1    1    1    0    0     1     1     1     0
      [,14] [,15] [,16] [,17] [,18] [,19] [,20] [,21]
 [1,]     0     1     1     1     1     1     1     1
 [2,]     0     1     0     0     0     0     0     1
 [3,]     0     1     0     1     1     1     0     1
 [4,]     0     1     0     1     1     1     0     1
 [5,]     0     1     0     1     1     1     0     1
 [6,]     0     1     0     0     0     0     0     1
 [7,]     0     1     1     1     1     1     1     1
 [8,]     0     0     0     0     0     0     0     0
 [9,]     1     1     0     0     1     0     1     1
[10,]     0     1     1     1     1     1     1     1
[11,]     0     0     0     1     1     1     0     1
[12,]     0     0     0     0     0     1     1     0
[13,]     1     1     0     0     1     1     1     0
[14,]     1     1     0     1     0     0     0     0
[15,]     0     0     0     0     1     1     0     1
[16,]     1     0     0     1     1     0     1     0
[17,]     0     1     1     1     1     1     0     0
[18,]     0     1     0     1     0     0     1     0
[19,]     0     1     0     0     0     1     0     0
[20,]     0     1     0     0     1     0     0     1
[21,]     1     0     1     0     1     1     0     0

qrencoder documentation built on May 29, 2017, 9:45 a.m.