str_tree: Write Tree in Newick Format

Description Usage Arguments Value Examples

View source: R/removal_tree_sampling_aux.R

Description

Write the Newick description of a tree, and return the corresponding string.

Usage

1
str_tree(tree)

Arguments

tree

an object of type tree

Value

a string

Examples

1
str_tree(tree=list('branch_length'=1, 'subtrees'=list(list('branch_length'=1, 'subtrees'=NULL))))

JasmineGamblin/bdTreeSim documentation built on Nov. 11, 2019, 6:28 a.m.