sample_uniform_trees: Sample uniform trees

Description Usage Arguments Details Value

View source: R/sample-trees-fast.R

Description

Sample uniform trees

Usage

1
sample_uniform_trees(n_vec, x_vec, B, use_one_index = TRUE)

Arguments

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

Details

assumes one root node

Value

data frame with the following columns

n

total size

n_pos

numer of smear pos

i_pos

number of i-positive transmissions

i_neg

number of i-negative transmissions

freq

frequency of (n,x,i)


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