R/utils.R
int2tile.Rd
Convert integers to tiles
int2tile(x = seq_len(38) - 1, origin = c("zero", "one"))
An integer vector.
A string scalar. Either "zero" or "one".
A factor.
int2tile(c(0, 1, 25, 37)) #> [1] m0 m1 s5 z7 #> 38 Levels: _ m0 m1 m2 m3 m4 m5 m6 m7 m8 m9 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 ... z7