named_rtree: Generate random tree with named internal nodes

View source: R/general_utils.R

named_rtreeR Documentation

Generate random tree with named internal nodes

Description

Internal nodes are named by numbering and adding the prefix 'n'. This function is laregly for use in examples throughout this package.

Usage

named_rtree(n)

Arguments

n

an integer giving the number of tips in the tree.

Value

An object of class "phylo"

Examples

named_rtree(5)

jsilve24/philr documentation built on Oct. 17, 2024, 4:59 p.m.