Learn R Programming

PST (version 0.94.1)

print: Print method for objects of class PSTf and PSTr

Description

Display a probabilistic suffix tree

Usage

# S4 method for PSTr
print(x, max.level = NULL, digits = 1, give.attr = FALSE, 
    nest.lev = 0, indent.str = "", stem = "--")

Arguments

x

A PST, that is an object of class PSTf as returned by the pstree or prune method.

max.level

integer. The maximal depth for the display of the tree.

digits

integer specifying the precision for printing.

give.attr

logical. If TRUE the attributes of each node (an object of class PSTr) are displayed.

nest.lev

integer. Parameter used internally by the function.

indent.str

character. String used to indent each line when displaying the tree. Default to ''.

stem

character. String used to display the stems. Default to '--'.

Methods

signature(x = "ANY")

signature(x = "PSTf")

signature(x = "PSTr")