| edges {spatstat} | R Documentation |
Extracts the boundary edges of a window and returns them as a line segment pattern.
edges(x, ..., window = NULL, check = spatstat.options("checksegments"))
x |
A window (object of class |
... |
Ignored. |
window |
Optional window to contain the resulting line segments.
Defaults to |
check |
Logical. Whether to check the validity of the resulting segment pattern. |
The boundary edges of the window x will be extracted as a line
segment pattern.
A line segment pattern (object of class "psp").
Adrian Baddeley Adrian.Baddeley@uwa.edu.au http://www.maths.uwa.edu.au/~adrian/, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak
perimeter for calculating the total length of the boundary.
edges(square(1)) edges(letterR)