Description Usage Arguments Value
View source: R/vis-A-infects-B.R
Looks at most likely transmissions from A to B for a cluster
1 2 3 4 5 6 7 | mc_trees_to_A_infects_B(
my_id,
par_ests,
mc_trees,
output = "tidy",
multiple_outside_transmissions = FALSE
)
|
my_id |
ID of cluster to analyze |
par_ests |
parameter estimates (must be named and
have corresponding columns in |
mc_trees |
output from |
output |
either |
multiple_outside_transmissions |
logical indicating which model to calculate likelihood |
either a n \times n matrix where n is the number of individuals in the cluster and entry i,j is the probability that individual A infects individual B or a data frame with the following columns
ID of the infector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.