Last chance! 50% off unlimited learning
Sale ends in
rMosaicField(X,
rgen = function(n) { sample(0:1, n, replace = TRUE)},
...,
rgenargs=NULL)
"tess"
).as.mask
determining the pixel resolution.rgen
(typically specifying parameters of the
distribution of the values)."im"
).X
. The values in each tile
are independent and identically distributed.rpoislinetess
,
rMosaicSet
X <- rpoislinetess(3)
plot(rMosaicField(X, runif))
plot(rMosaicField(X, runif, dimyx=256))
plot(rMosaicField(X, rnorm, rgenargs=list(mean=10, sd=2)))
plot(rMosaicField(dirichlet(runifpoint(30)), rnorm))
Run the code above in your browser using DataLab