View source: R/as.matrix.bm_bitmap.R
as.matrix.bm_bitmap | R Documentation |
as.matrix.bm_bitmap()
coerces bm_bitmap()
objects to an integer matrix.
## S3 method for class 'bm_bitmap' as.matrix(x, ...)
x |
A |
... |
Further arguments passed to or from other methods. |
An integer matrix
space_matrix <- matrix(0L, ncol = 8L, nrow = 8L) space_glyph <- bm_bitmap(space_matrix) print(space_glyph, px = ".") print(as.matrix(space_glyph))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.