coordinates {qrcode} | R Documentation |
Extract coordinates from a QR code object.
Description
Selects the dark elements from the qr_code
object and returns their
coordinates.
This can be useful when you want to create a QR code with a custom style.
Usage
coordinates(x)
Arguments
x |
the |
Value
A data.frame
with the column
and row
number of the dark
elements.
Author(s)
Thierry Onkelinx
See Also
Other qr:
generate_svg()
,
plot.qr_code()
,
print.qr_code()
,
qr_code()
,
qr_event()
,
qr_wifi()
Examples
x <- qr_code("test")
plot(x)
head(coordinates(x))
plot(coordinates(x), pch = 19, cex = 2, asp = 1)
[Package qrcode version 0.2.2 Index]