prunetosize: Prune a tree to the desired size, randomly uniformly dropping...

Description Usage Arguments Value Examples

Description

Prune a tree to the desired size, randomly uniformly dropping tips

Usage

1
prunetosize(tree, size)

Arguments

tree

A tree in phylo format

size

an integer, the size of the final tree

Value

a tree in phylo format, with the desired number of tips (size)

Examples

1
prunetosize(rtree(20),12)

carolinecolijn/treetop documentation built on May 13, 2019, 12:50 p.m.