expand interactions/combinations of grouping variables
Modeled after lme4:::expandSlash, by Doug Bates
expandAllGrpVar(bb)
bb |
a list of naked grouping variables, i.e. 1 | f |
ff <- glmmTMB:::fbx(y~1+(x|f/g)) glmmTMB:::expandAllGrpVar(ff) glmmTMB:::expandAllGrpVar(quote(1|(f/g)/h)) glmmTMB:::expandAllGrpVar(quote(1|f/g/h)) glmmTMB:::expandAllGrpVar(quote(1|f*g))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.