mahjong: mahjong tiles

Description Usage Arguments Examples

Description

create Unicode representations of mahjong tiles and export to HTML

Usage

1
2
3
4
5

Arguments

tile

a mahjong tile. Valid values can be found via mahjong_list()

size

the font-size to use

Examples

1
2
3
4
mahjong_html("autumn")
mahjong_html("bamboo", size = 400)

mahjong_list() %>% lapply(mahjong_html, 100) %>% span() %>% browsable()

r-webutils/suitr documentation built on Dec. 23, 2021, 12:18 a.m.