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/TBornotTB documentation built on April 21, 2020, 1:19 p.m.