PST (version 0.84.1)

summary-methods: Summary of variable length Markov chain model

Description

Summary of a variable length Markov chain model stored in a probabilistic suffix tree.

Usage

## S3 method for class 'PSTf':
summary(object, max.level)

Arguments

object
A PST, that is an object of class PSTf as returned by the pstree or prune method.
max.level
integer. If specified, the summary is computed for the max.level levels of the tree only.

Value

  • An object of class PST.summary with following attributes: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] A show method is available for displaying objects of class PST.summary.

Examples

Run this code
data(s1)
s1.seq <- seqdef(s1)
S1 <- pstree(s1.seq, L=3)
summary(S1)
summary(S1, max.level=2)

Run the code above in your browser using DataLab