Learn R Programming

phyndr (version 0.1.0)

phyndr_sample: Sample one distinct set of tip labels from a phyndr tree

Description

Sample distinct set of tip labels from a phyndr tree. phyndr_sample returns a tree (phylo object) while phyndr_sample_n generates a list of trees.

Usage

phyndr_sample(phy)
phyndr_sample_n(phy, n)

Arguments

phy
A phyndr tree
n
Number of trees to generate