parseGroupFormula {doBy} | R Documentation |
Extract components from a formula with the form y~x1+...xn|g1+...gm
parseGroupFormula(form)
form |
A formula of the form |
If the formula is y~x1+x2|g1+g2
the result is
model |
|
groups |
|
groupFormula |
|
This function is a recent addition and has not been thoroughly tested. Please report bugs.
Søren Højsgaard, sorenh@math.aau.dk
gf<-parseGroupFormula(y~x1+x2|g1+g2)