cbind.bm_bitmap | R Documentation |
cbind.bm_bitmap()
and rbind.bm_bitmap()
combine
by columns or rows respectively.
## S3 method for class 'bm_bitmap' cbind(..., direction = "left-to-right", vjust = "center-top") ## S3 method for class 'bm_bitmap' rbind(..., direction = "top-to-bottom", hjust = "center-left")
... |
|
direction |
For |
vjust |
Used by |
hjust |
Used by |
A bm_bitmap()
object.
font_file <- system.file("fonts/spleen/spleen-8x16.hex.gz", package = "bittermelon") font <- read_hex(font_file) capital_b <- font[[str2ucp("B")]] capital_m <- font[[str2ucp("M")]] cbm <- cbind(capital_b, capital_m) print(cbm, px = c(".", "#")) cbm_rl <- cbind(capital_b, capital_m, direction = "right-to-left") print(cbm_rl, px = c(".", "#")) rbm <- rbind(capital_b, capital_m) print(rbm, px = c(".", "#")) rbm_bt <- rbind(capital_b, capital_m, direction = "bottom-to-top") print(rbm_bt, px = c(".", "#"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.