Extract or Change the Names of the Tiles in a Tessellation.
tilenames(x)
tilenames(x) <- value# S3 method for tess
tilenames(x)
# S3 method for tess
tilenames(x) <- value
tilenames
returns a character vector.
A tessellation
(object of class "tess"
).
Character vector giving new names for the tiles.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk.
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.
tess
,
tiles
D <- dirichlet(runifrect(10))
tilenames(D)
tilenames(D) <- paste("Cell", 1:10)
tilenames(D)
Run the code above in your browser using DataLab