Last chance! 50% off unlimited learning
Sale ends in
rpoislinetess(lambda, win = owin())
"owin"
or something acceptable to as.owin
.
Currently, the window must be a rectangle."tess"
).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.
rpoisline
to generate the lines only.X <- rpoislinetess(3)
plot(as.im(X), main="rpoislinetess(3)")
plot(X, add=TRUE)
Run the code above in your browser using DataLab