View source: R/derivationTrees.R
chooseRule | R Documentation |
chooseRule()
selects a production rule index
from the vector of production rule indices
in the g$PT$LHS
for a non-terminal symbol.
chooseRule(riv)
riv |
Vector of production rules indices for a non-terminal symbol. |
Integer. Index of the production rule.
Other Random Choice:
chooseNode()
chooseRule(c(7, 8, 9))
chooseRule(as.vector(1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.