Returns full block matrix of link probabilities given the group memberships based on probabilities of links within each of the groups and between in- and out-group members
gen_block_matrix(p_edge_within, p_edge_between, .ord = NULL)
named list of numeric vectors giving probability of link between in-group members and out-group members for each of groups
named list of numeric values giving probability of link between in- and out-group member for each of groups
character vector of ordered names of all possible combinations of group memberships. Default is NULL
to generate the order automatically
2^K
by 2^K
matrix of probabilities of establishing a link