Learn R Programming

spatstat.linnet (version 3.1-0)

intersect.lintess: Intersection of Tessellations on a Linear Network

Description

Yields the intersection (common refinement) of two tessellations on a linear network.

Usage

intersect.lintess(X, Y)

Value

Another tessellation (object of class "lintess") on the same linear network as X and Y.

Arguments

X,Y

Tessellations (objects of class "lintess") on the same linear network.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au.

Details

X and Y should be tessellations defined on the same linear network.

Each tile in the resulting tessellation is the intersection of a tile of X with a tile of Y.

See Also

lintess, divide.linnet, chop.linnet

Examples

Run this code
  X <- divide.linnet(runiflpp(4, simplenet))
  Y <- divide.linnet(runiflpp(3, simplenet))
  opa <- par(mfrow=c(1,3))
  plot(X)
  plot(Y)
  plot(intersect.lintess(X,Y))
  par(opa)

Run the code above in your browser using DataLab