rpoisline(lambda, win=owin())
"owin"
or something acceptable to as.owin
.
Currently, the window must be a rectangle."psp"
).win
. Currently win
must be a rectangle.
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.
psp
# uniform Poisson line process with intensity 10,
# clipped to the unit square
rpoisline(10)
Run the code above in your browser using DataLab