pymixef.interoperability.r module¶
R/lme4/glmmTMB formula translation.
- pymixef.interoperability.r.translate_r_formula(formula)[source]¶
Translate the supported lme4 formula subset without changing semantics.
PyMixEF intentionally uses the same operators for its safe formula grammar. R function calls and environment lookups are refused because arbitrary code evaluation is outside that grammar.
- Parameters:
formula (str)
- Return type:
InterchangeResult[str]