Parse graphical model formula to internal representation
parse_gm_formula(formula, varnames, marginal = NULL, interactions = NULL)
A right hand sided formula or a list.
Specification of the variables.
Possible specification of marginal (a set of variables); useful in connection with model specification shortcuts.
The maximum order of interactions allowed; useful in connection with model specification shortcuts.