plot.qr_code: Plot the QR code

View source: R/plot.R

plot.qr_codeR Documentation

Plot the QR code

Description

Plot the QR code

Usage

## S3 method for class 'qr_code'
plot(x, col = c("white", "black"), y, ...)

## S3 method for class 'qr_logo'
plot(x, col = c("white", "black"), y, ...)

Arguments

x

the qr_code object

col

Define the colours. The first element refers to FALSE and the second TRUE. Defaults to c("white", "black").

y

currently ignored

...

currently ignored

Author(s)

Thierry Onkelinx

See Also

Other qr: generate_svg(), print.qr_code(), qr_code(), qr_event(), qr_wifi()

Other qr: generate_svg(), print.qr_code(), qr_code(), qr_event(), qr_wifi()

Examples

qr <- qr_code("HELLO WORLD")
plot(qr)

qrcode documentation built on Dec. 28, 2022, 1:57 a.m.