R/xiangting.R
calc_xiangting.Rd
Calculate xiangting number of hands
calc_xiangting(pai)
A character vector.
A tibble.
calc_xiangting(c("m345567p234s3378", "p222345z1234567")) #> # A tibble: 2 × 2 #> num mode #> <int> <fct> #> 1 0 yiban #> 2 4 yiban