Description Usage Arguments Details Value Author(s) See Also Examples
Compute the tree representation of a "vlmc"
object as R
list
.
1 2 3 4 5 | vlmctree(x)
## S3 method for class 'vtree'
str(object, ...)
.vvec2tree(vv, k, chk.lev)
|
x,object |
typically the result of |
vv |
integer vector encoding the fitted vlmc, typically
|
k |
integer, the alphabet size. |
chk.lev |
integer internally used for consistency checking. |
... |
further arguments passed to or from methods. |
.vvec2tree
is the internal (recursive) function building up the
tree.
str.vtree
is a method for the generic str
function and typically for the output of vlmctree()
. For each
node, it gives the “parenting level” in braces and the counts.
A list
of class
"vtree"
representing the tree structure recursively.
Each “node” of the tree is itself a list with components
level |
length-2 integer giving the level in {0,1,...},
counted from the root (which is |
count |
integer vector of length |
total |
equals to |
child |
a list (of length |
Martin Maechler
vlmc
.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.