This is an internal function that is used in the M-step to output a binary tree. It contracts degree two nodes that do not correspond to observed variables.
1 | contr.deg2(T)
|
T |
a tree |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.