Description Usage Arguments Details Value
View source: R/sample-trees-fast.R
Sample uniform trees
1 | sample_uniform_trees(n_vec, x_vec, B, use_one_index = TRUE)
|
n_vec |
total sizes |
x_vec |
total numbers of smear pos |
B |
number of trees to sample |
use_one_index |
Do we sample assuming 1 root node? Default is TRUE |
assumes one root node
data frame with the following columns
total size
numer of smear pos
number of i-positive transmissions
number of i-negative transmissions
frequency of (n,x,i)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.