Learn R Programming

sperrorest (version 3.0.5)

as.tilename: Alphanumeric tile names

Description

Functions for generating and handling alphanumeric tile names of the form 'X2:Y7' as used by partition_tiles and represampling_tile_bootstrap.

Usage

as.tilename(x, ...)

# S3 method for numeric as.tilename(x, ...)

# S3 method for tilename as.character(x, ...)

# S3 method for tilename as.numeric(x, ...)

# S3 method for character as.tilename(x, ...)

# S3 method for tilename print(x, ...)

Value

object of class tilename, character, or numeric vector of length 2

Arguments

x

object of class tilename, character, or numeric (of length 2).

...

additional arguments (currently ignored).

See Also

partition_tiles, represampling, represampling_tile_bootstrap

Examples

Run this code
tnm <- as.tilename(c(2, 3))
tnm # 'X2:Y3'
as.numeric(tnm) # c(2,3)

Run the code above in your browser using DataLab