Learn R Programming

rphast (version 1.0)

print.tm: Printing Tree Models

Description

Print a tree model

Usage

print.tm(x, aslist=FALSE, ...)

Arguments

x
An object of class tm.
aslist
Logical. If TRUE, print the tree model as a list rather than in tree model format.
...
arguments to be passed to/from other functions

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
print(tm, aslist=TRUE)
unlink(filename)

Run the code above in your browser using DataLab