Description Usage Arguments Value Examples
A function that finds vaccination targets based on some network centrality measure.
1 | identify_vaccination_targets(centrality_measure, data, network.size, treatments)
|
centrality_measure |
an igraph centrality measure |
data |
An adjacency matrix, possibly directed |
vector stating for each node whether it is "Vaccinated" or "Untreated".
1 2 | mat = matrix(rbinom(10 * 5, 1, 0.3), ncol = 10, nrow = 10)
vaccinatedIndex <- identify_vaccination_targets(igraph::betweenness,mat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.