Learn R Programming

rphast (version 1.0)

read.tm: Read a Tree Model

Description

Read a tree model from a file

Usage

read.tm(filename)

Arguments

filename
The file containing a tree model

Value

  • An object of class "tm"

See Also

tm

Examples

Run this code
exampleArchive <- system.file("extdata", "examples.zip", package="rphast")
filename <- "rev.mod"
unzip(exampleArchive, filename)
tm <- read.tm(filename)
tm
unlink(filename)

Run the code above in your browser using DataLab