sample_i: Sample and summarize a tree for given generation sizes

Description Usage Arguments Value

Description

Sample and summarize a tree for given generation sizes

Usage

1
sample_i(perm_mat, x)

Arguments

perm_mat

g x B matrix where each column is a unique permutation of generation sizes

x

number of smear positives

Value

matrix of two columns of dimension Bx2 where the first column is the number of i positive transmissions in the cluster and the second is i negative


skgallagher/TBornotTB documentation built on April 21, 2020, 1:19 p.m.