sample_connections: Sample connections and form a tree

Description Usage Arguments Value

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

Description

Sample connections and form a tree

Usage

1
sample_connections(gen_sizes)

Arguments

gen_sizes

vector of generation sizes

Value

data frame with the following columns

gen

generation number

n_in_gen

number inside that generation

inf_id

infector ID

id

unique ID within cluster


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