edges | R Documentation |
Extracts the boundary edges of a window and returns them as a line segment pattern.
edges(x, ..., window = NULL, check = FALSE)
x |
A window (object of class |
... |
Ignored. |
window |
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"
).
.
perimeter
for calculating the total length of the boundary.
edges(square(1))
edges(letterR)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.