chooseRulek | R Documentation |
chooseRulek()
selects the k-th production rule index
from the vector of production rule indices
in the g$PT$LHS
for a non-terminal symbol.
chooseRulek(riv, k)
riv |
Vector of production rule indices for a non-terminal symbol. |
k |
Integer. |
The index of the production rule.
chooseRulek(c(7, 8, 9), 9)
chooseRulek(as.vector(1), 9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.