Description Usage Arguments Value
View source: R/get-num-children.R
Returns the number of children of a given active node, excluding terminals if requested.
1 | get_num_children(tree, order, exclude_terminals = FALSE)
|
tree |
A suffix tree as produced by |
order |
Amount of context (e.g. 0 means no context). |
exclude_terminals |
(Logical scalar) Whether to exclude terminal symbols from this count. |
The number of children of the active node with order as specified, possibly including terminal symbols.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.