Skip to contents

[[ can be used to get the table of metadata for a specific tile.

Usage

# S4 method for class 'tilePlan,numeric,missing'
x[[i, j, ...]]

# S4 method for class 'tilePlan,missing,missing'
x[[i, j, ...]]

# S4 method for class 'tilePlan,missing,character'
x[[i, j, ...]]

# S4 method for class 'tilePlan,numeric,character'
x[[i, j, ...]]

# S4 method for class 'tilePlan,numeric,character'
x[[i, j, ...]] <- value

# S4 method for class 'tilePlan,missing,character'
x[[i, j, ...]] <- value

Arguments

x

tilePlan

i

integer-like. tile vector index

j

character. Name of metadata information to get

...

not used.

value

ANY value to set

Value

data.frame

Examples

spat <- tilePlan("spatial")
ext(spat) <- c(0, 1000, 0, 1000)
length(spat) <- 9
spat[[1]]
#>   tile
#> 1    1