Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tile.areas

Compute Areas of Tiles in a Tessellation


Description

Computes the area of each tile in a tessellation.

Usage

tile.areas(x)

Arguments

x

A tessellation (object of class "tess").

Details

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

This command computes the area of each of the tiles that make up the tessellation x. The result is a numeric vector in the same order as the tiles would be listed by tiles(x).

Value

A numeric vector.

Author(s)

and Rolf Turner r.turner@auckland.ac.nz

See Also

Examples

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

spatstat.geom

Geometrical Functionality of the 'spatstat' Family

v2.1-0
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Tilman Davies [ctb], Ute Hahn [ctb], Abdollah Jalilian [ctb], Sebastian Meyer [ctb], Suman Rakshit [ctb], Dominic Schuhmacher [ctb], Rasmus Waagepetersen [ctb]
Initial release
2021-04-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.