summary.vlmc: Summary of Fitted Variable Length Markov Chain (VLMC)

Description Usage Arguments Value See Also Examples

Description

Compute (and print) a summary of a vlmc object which is typically the result of vlmc(..).

Usage

1
2
3
4
5
## S3 method for class 'vlmc'
summary(object, ...)
## S3 method for class 'summary.vlmc'
print(x, digits = getOption("digits"),
         vvec.printing = FALSE, ...)

Arguments

object

an R object of class vlmc.

x

an R object of class summary.vlmc.

digits

integer giving the number of significant digits for printing numbers.

vvec.printing

logical indicating if the vvec component should be printed recursively via prt.vvec().

...

potentially further arguments [Generic].

Value

summary.vlmc() returns an object of class "summary.vlmc" for which there's a print method. It is basically a list containing all of object, plus additionally

confusion.table

the symmetric contingency table of data vs fitted.

depth.stats

statistics of Markov chain depth along the data; currently just summary(predict(object, type="depth")).

R2

the R^2 statistic, i.e. the percentage (in [0,1]) of correctly predicted data.

See Also

vlmc, draw.vlmc.

Examples

1
2
3
4
data(bnrf1)
vb <- vlmc(bnrf1EB)
svb <- summary(vb)
svb

VLMC documentation built on May 1, 2019, 11:32 p.m.

Related to summary.vlmc in VLMC...