View source: R/derivationTrees.R
treeRoot | R Documentation |
treeRoot()
returns the root of a derivation tree.
treeRoot(tree)
tree |
Derivation tree. |
Root of a derivation tree.
Other Access Tree Parts:
filterANL()
,
filterANLid()
,
treeANL()
,
treeChildren()
g<-compileBNF(booleanGrammar())
a<-randomDerivationTree(g$Start, g)
treeRoot(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.