Sample the actual tree for given permutation

sample_general_tree_perm(gen_sizes)

Arguments

gen_sizes

vector of generation sizes

Value

sampled tree data framegiven the generation sizes

cluster_size

cluster_size

id

person ID

gen

generation number

n_inf

number infected