unblncdTree: Generate an unbalanced tree

View source: R/a.R

unblncdTreeR Documentation

Generate an unbalanced tree

Description

Returns an unbalanced TreeMan tree with n tips.

Usage

unblncdTree(n, wndmtrx = FALSE, parallel = FALSE)

Arguments

n

number of tips, integer, must be 3 or greater

wndmtrx

T/F add node matrix? Default FALSE.

parallel

T/F run in parallel? Default FALSE.

Details

Equivalent to ape's stree(type='left') but returns a TreeMan tree. Tree is always rooted and bifurcating.

See Also

TreeMan-class, randTree, blncdTree

Examples


tree <- unblncdTree(5)

ropensci/phylotaR documentation built on July 9, 2023, 3:17 p.m.