as.tilename: Alphanumeric tile names

Description Usage Arguments Value See Also Examples

View source: R/sperrorest_misc.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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, ...)

Arguments

x

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

...

additional arguments (currently ignored).

Value

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

See Also

partition_tiles, represampling, represampling_tile_bootstrap

Examples

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

sperrorest documentation built on Nov. 17, 2017, 4:28 a.m.