Learn R Programming

rphast (version 1.1)

as.list.tm: Tree Model to List

Description

Coerce a tree model into a list

Usage

as.list.tm(x, ...)

Arguments

x
an object of class tm
...
arguments to be passed to/from other functions

See Also

tm

Examples

Run this code
tm <- tm(tree="((human:0.01, chimp:0.01):0.03, mouse:0.3)",
         subst.mod="JC69")
is.list(tm)
is.list(as.list(tm))

Run the code above in your browser using DataLab