Usage
## S3 method for class 'PSTf':
cplot(object, context, state, main=NULL, all=FALSE, x.by=1, y.by=0.2, by.state=FALSE, ...)
Arguments
object
A probabilistic suffix tree, i.e., an object of class "PSTf"
as returned by the pstree
, prune
or
context
character. Label of the node to plot, provided as a string where states are separated by '-', see examples.
state
logical. Under development.
main
character. Main title for the plot. By default, the title is the node label.
x.by
numeric. Interval for the ticks on the x axis (segments).
y.by
numeric. Interval for the ticks on the y axis (probability).
by.state
logical. If TRUE
, the representation of the probability distribution is done separately for each state of the alphabet.
...
arguments to be passed to the plot function or other graphical parameters.