Simulates a relational matrix from a Poisson distribution given
the log mean values
Usage
simY_pois(EZ, bipartite = FALSE)
Arguments
- EZ
matrix giving the log expected values of the relational matrix
- bipartite
whether row and column actors form disjoint sets; keeps
diagonal cells even when the matrix is square.
Value
a matrix with the dimensions of EZ of counts
Author
Cassy Dorff, Shahryar Minhas, Tosin Salau