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