Simulate of matrix of affiliation
simulate_affiliation(n, m, affiliation = "uniform", no_empty_org = FALSE)
An integer, the number of individuals
An integer, the number of organizations
The type of affiliation between c("uniform", "preferential")
A Boolean. Force all columns to have at least a 1. Must have \(n>m\).
A \(n \times m\) affiliation matrix, with a unique 1 on each rows