View source: R/doby_utilities.R
parseGroupFormula | 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 |
|
Søren Højsgaard, sorenh@math.aau.dk
gf <- parseGroupFormula(y ~ x1 + x2 | g1 + g2)
gf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.