Build a matrix of transmission probabilities for given graph and partition
Usage
get_transmission_probs(graph, partition)
Arguments
- graph
An igraph graph.
- partition
Vector of integer values giving the block membership of each
vertex
Value
A B x B matrix giving the transmission probabilities between each block,
where an entry [i,j]
indiciates the transmission probability of going from block
i to block j.