sample_trees_fixed_g: Sample trees with given generation sizes

Description Usage Arguments Value

View source: R/sample_general_cond_trees.R

Description

Sample trees with given generation sizes

Usage

1

Arguments

perm_mat

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

Value

data frame with the following columns

cluster_id

unique cluster ID

id

person ID

gen

generation number

n_inf

number infected by this person


skgallagher/InfectionTrees documentation built on July 28, 2021, 2:14 p.m.