Learn R Programming

spatstat (version 1.52-1)

tilenames: Names of Tiles in a Tessellation

Description

Extract or Change the Names of the Tiles in a Tessellation.

Usage

tilenames(x)
tilenames(x) <- value

Arguments

x

A tessellation (object of class "tess").

value

Character vector giving new names for the tiles.

Value

tilenames returns a character vector.

Details

These functions extract or change the names of the tiles that make up the tessellation x.

If the tessellation is a regular grid, the tile names cannot be changed.

See Also

tess, tiles

Examples

Run this code
# NOT RUN {
  D <- dirichlet(runifpoint(10))
  tilenames(D)
  tilenames(D) <- paste("Cell", 1:10)
# }

Run the code above in your browser using DataLab