R: expand interactions/combinations of grouping variables

expandAllGrpVar {glmmTMB} | R Documentation

## expand interactions/combinations of grouping variables

### Description

Modeled after lme4:::expandSlash, by Doug Bates

### Usage

    expandAllGrpVar(bb)

### Arguments

`bb` | a list of naked grouping variables, i.e. 1 | f

### Examples

    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))

[Package glmmTMB version 0.2.2.0 Index]