|
A function that can be used in Formulas.
randomBernoulli##
(nrow
, ncol
, p
)
nrow
× ncol
independent Bernoulli-distributed (randomBernoulli
) zeroes and ones.
randomBernoulli##
(model##
, p
)
model##
, and fill all cells with independent Bernoulli-distributed zeroes and ones. This is shorthand for doing
randomBernoulli## (numberOfRows (model##), numberOfColumns (model##), p)
© Paul Boersma 2023,2024