randomBernoulli##

A function that can be used in Formulas.

Syntax and semantics

randomBernoulli## (nrow, ncol, p)
generate nrow × ncol independent Bernoulli-distributed (randomBernoulli) zeroes and ones.
randomBernoulli## (model#, p)
create a matrix with the same number of rows and columns as 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