prt.vvec {VLMC}R Documentation

Recursively Print the VLMC Result Vector

Description

This is an auxiliary function which recursively displays (prints) the integer result vector of a vlmc fit.

Usage

prt.vvec(v, nalph, pad=" ")

Arguments

v

typically x $ vlmc.vec[ -1] where x is the result of vlmc(*).

nalph

alphabet size; typically x $ vlmc.vec[1].

pad

character, to be used for padding paste(*, collapse=pad).

See Also

summary.vlmc which uses prt.vvec.

Examples

  example(vlmc)
  str(vv <- vlmc.dt1$vlmc)
  prt.vvec(vv[-1], n = 2)
  prt.vvec(vv[-1], n = 2, pad = " | ")

[Package VLMC version 1.4-3-1 Index]