ChoiceVector {xegaGeGene}R Documentation

Choice vector of a grammar.

Description

Choice vector of a grammar.

Usage

ChoiceVector(LHS)

Arguments

LHS

Vector of Integers. The left-hand side G$LHS of a grammar object G.

Value

Vector of the number of choices for non-terminal symbols.

See Also

Other Utility: mLCMG()

Examples

NT<-sample(5, 50, replace=TRUE)
ChoiceVector(NT)

[Package xegaGeGene version 1.0.0.0 Index]