Last chance! 50% off unlimited learning
Sale ends in
rMosaicSet(X, p=0.5)
"tess"
)."owin"
).X
, this function
randomly selects some of the tiles of X
,
including each tile with probability $p$ independently of
the other tiles. The selected tiles are then combined to form a
set in the plane. One application of this is Switzer's (1965) example of a random set
which has a Markov property. It is constructed by generating X
according to a Poisson line tessellation (see rpoislinetess
).
rpoislinetess
,
rMosaicField
# Switzer's random set
X <- rpoislinetess(3)
plot(rMosaicSet(X, 0.5), col="green", border=NA)
# another example
plot(rMosaicSet(dirichlet(runifpoint(30)), 0.4))
Run the code above in your browser using DataLab