Learn R Programming

spatstat.geom (version 3.3-2)

tiles: Extract List of Tiles in a Tessellation

Description

Extracts a list of the tiles that make up a tessellation.

Usage

tiles(x)

Value

A list of windows (objects of class "owin").

Arguments

x

A tessellation (object of class "tess").

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

and Rolf Turner rolfturner@posteo.net

Details

A tessellation is a collection of disjoint spatial regions (called tiles) that fit together to form a larger spatial region. See tess.

The tiles that make up the tessellation x are returned in a list.

See Also

tess, tilenames, tile.areas, tiles.empty

Examples

Run this code
  A <- tess(xgrid=0:2,ygrid=0:2)
  tiles(A)
  v <- as.im(function(x,y){factor(round(x^2 + y^2))}, W=owin())
  E <- tess(image=v)
  tiles(E)

Run the code above in your browser using DataLab