Functions for generating and handling alphanumeric tile names of
the form 'X2:Y7'
as used by partition_tiles and
represampling_tile_bootstrap.
as.tilename(x, ...)
# S3 method for class 'numeric'
as.tilename(x, ...)
# S3 method for class 'tilename'
as.character(x, ...)
# S3 method for class 'tilename'
as.numeric(x, ...)
# S3 method for class 'character'
as.tilename(x, ...)
# S3 method for class 'tilename'
print(x, ...)
object of class tilename
, character
, or numeric vector of length
2
tnm <- as.tilename(c(2, 3))
tnm # 'X2:Y3'
#> [1] "X2:Y3"
as.numeric(tnm) # c(2,3)
#> Warning: NAs introduced by coercion
#> [1] NA