named_rtree {philr}R 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)

[Package philr version 1.16.0 Index]