summary.vlmc {VLMC} | R Documentation |
Summary of Fitted Variable Length Markov Chain (VLMC)
Description
Compute (and print) a summary of a vlmc
object which is
typically the result of vlmc(..)
.
Usage
## 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
data(bnrf1)
vb <- vlmc(bnrf1EB)
svb <- summary(vb)
svb
[Package
VLMC version 1.3-10
Index]