controls the number of hyper-edges. If m is not given,
the number is drawn from a Poisson(lambda), or, a Poisson(n*p) if lambda
is not given.
p
Hyper-edge probability.
Value
a hypergraph.
Details
This generates an ER hypergraph by using rbinom
to generate a random mxn matrix of Bernoulli random variables and
treating this
matrix as the incidence matrix for the hypergraph.
If m is not given, and lambda is, then m is drawn from a
Poisson distribution with parameter lambda. If neither is given,
the number of hyper-edges is drawn from a Poisson distribution with
parameter n*p.