rpoislinetess | R Documentation |
Generate a tessellation delineated by the lines of the Poisson line process
rpoislinetess(lambda, win = owin())
lambda |
Intensity of the Poisson line process. A positive number. |
win |
Window in which to simulate the pattern.
An object of class |
This algorithm generates a realisation
of the uniform Poisson line process, and divides the window
win
into tiles separated by these lines.
The argument lambda
must be a positive number.
It controls the intensity of the process. The expected number of
lines intersecting a convex region of the plane is equal to
lambda
times the perimeter length of the region.
The expected total length of the lines crossing a region of the plane
is equal to lambda * pi
times the area of the region.
A tessellation (object of class "tess"
).
Also has an attribute "lines"
containing the realisation of the
Poisson line process, as an object of class "infline"
.
and \rolf.
rpoisline
to generate the lines only.
X <- rpoislinetess(3)
plot(as.im(X), main="rpoislinetess(3)")
plot(X, add=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.