prt.vvec: Recursively Print the VLMC Result Vector

Description Usage Arguments See Also Examples

Description

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

Usage

1
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

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

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

Related to prt.vvec in VLMC...