Extract components from a formula with the form y~x1+...xng1+...gm
1  parseGroupFormula(form)

form 
A formula of the form 
If the formula is y~x1+x2g1+g2
the result is
model 

groups 

groupFormula 

This function is a recent addition and has not been thoroughly tested. Please report bugs.
S<f8>ren H<f8>jsgaard, sorenh@math.aau.dk
1  gf<parseGroupFormula(y~x1+x2g1+g2)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.