sample_unique_perms: Sample unique permutations from a partition space

Description Usage Arguments Value

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

Description

Sample unique permutations from a partition space

Usage

1

Arguments

g

number of generations

n

total size of cluster

B

number of permutations to draw

Value

matrix of size g x B and the first row is all 1. Each column is a unique permutation that sums to n and all are positive entries


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