Description Usage Arguments Value
View source: R/simulate-conditional-bp.R
Take the partitions by generations and turn it into a full transmission path
| 1 | part_to_cluster(k, part)
 | 
| k | cluster ID | 
| part | matrix of dimension g x 1, the number in each generation | 
data frame with the following columns
cluster_id
generation number (1 to n)
number in generation
Cx-Gy-Nz, cluster x, generation y, number z makes up the unique ID
number in cluster k (n)
who infected this person
number of infections caused by this person
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.