Learn R Programming

spatstat.linnet (version 3.2-2)

tilenames.lintess: Names of Tiles in a Tessellation on a Network

Description

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

Usage

# S3 method for lintess
tilenames(x)

# S3 method for lintess tilenames(x) <- value

Value

tilenames returns a character vector.

Arguments

x

A tessellation on a linear network (object of class "lintess").

value

Character vector giving new names for the tiles.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk.

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

lintess, tiles

Examples

Run this code
  B <- lineardirichlet(runiflpp(5, simplenet))
  tilenames(B)
  tilenames(B) <- letters[1:5]

Run the code above in your browser using DataLab