summary-methods | R Documentation |
Summary of a variable length Markov chain model stored in a probabilistic suffix tree.
## S4 method for signature 'PSTf'
summary(object, max.level)
object |
A PST, that is an object of class |
max.level |
integer. If specified, the summary is computed for the |
An object of class PST.summary
with following attributes:
list of symbols in the alphabet
long labels for symbols in the alphabet
color palette used to represent each state of the alphabet
number of symbols in the data to which the model was fitted
maximum depth (order) of the tree
number of internal nodes in the PST
number of leaves in the PST
number of free parameters in the mode, i.e., (nodes+leaves)*(|A|-1) where |A| is the size of the alphabet
A show
method is available for displaying objects of class PST.summary
.
Alexis Gabadinho
data(s1)
s1.seq <- seqdef(s1)
S1 <- pstree(s1.seq, L=3)
summary(S1)
summary(S1, max.level=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.