Convert Tessellation to Data Frame

View source: R/tess.R Documentation

Convert Tessellation to Data Frame


Converts a spatial tessellation object to a data frame.


## S3 method for class 'tess', ...)



Tessellation (object of class "tess").


Further arguments passed to or and ultimately to to determine the row names and other features.


This function converts the tessellation x to a data frame.

If x is a pixel image tessellation (a pixel image with factor values specifying the tile membership of each pixel) then this pixel image is converted to a data frame by The result is a data frame with columns x and y giving the pixel coordinates, and Tile identifying the tile containing the pixel.

If x is a tessellation consisting of a rectangular grid of tiles or a list of polygonal tiles, then each tile is converted to a data frame by, and these data frames are joined together, yielding a single large data frame containing columns x, y giving the coordinates of vertices of the polygons, and Tile identifying the tile.


A data frame with columns named x, y, Tile, and possibly other columns.




See Also,


  Z <-
  head(Z, 10)

spatstat.geom documentation built on Oct. 20, 2023, 9:06 a.m.