simbaltrees: Simulate a set of balanced and unbalanced trees.

Description Usage Arguments Examples

Description

Could use this in asking questions aobut how phylogenetic tree balance influences ____ (madlib it).

Usage

1
  simbaltrees(tips = 10, metric, numtrees, cutlow, cuthigh)

Arguments

tips
metric

Methods to use to generate trees, one of "colless", "beta", or gamma (see details). Defaults to "colless".

numtrees

Number of trees to produce. Defaults to 10 trees.

cutlow

Value at which to filter trees on the low (e.g., unbalanced) side of the metric.

cuthigh

Value at which to filter trees on the high (e.g., balanced) side of the metric.

Examples

1
2
3
4
5
## Not run: 
temp <- simbaltrees(tips=10, metric="colless", numtrees=10, cutlow=-0.5, cuthigh=0.5)
unique(temp$model)

## End(Not run)

sckott/sacbox documentation built on May 26, 2017, 3:47 a.m.