createNode | R Documentation |
Change depth to appropriate calculation
createNode(x, q, index = NULL)
x |
A boolean or binary vector coerced to bit vector. |
q |
A commonnality value associated to |
Depth equals the greatest index corresponding to 1 in the bit vector x
.
A list of length 5 containing the following components:
x The binary table.
q The commonalities.
left The left side of the tree.
right The right side of the tree.
depth The depth of the tree..
Peiyuan Zhu
# TO DO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.