rlinegrid {spatstat} | R Documentation |
Generates a grid of parallel lines, equally spaced, inside the specified window.
rlinegrid(angle = 45, spacing = 0.1, win = owin())
angle |
Common orientation of the lines, in degrees anticlockwise from the x axis. |
spacing |
Spacing between successive lines. |
win |
Window in which to generate the lines. An object of
class |
The grid is randomly displaced from the origin.
A line segment pattern (object of class "psp"
).
Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz
plot(rlinegrid(30, 0.05))