This function checks is T is a binary tree
1 | is.binary(T, opt = 0)
|
T |
a tree |
opt |
either 0 or 1, opt=1 allows for degree two nodes which are not obsrved |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.