tabulate.formula: Parse a formula into a buildmer terms list

tabulate.formulaR Documentation

Parse a formula into a buildmer terms list

Description

Parse a formula into a buildmer terms list

Usage

tabulate.formula(formula, group = NULL)

Arguments

formula

A formula.

group

A character vector of regular expressions. Terms matching the same regular expression are assigned the same block, and will be evaluated together in buildmer functions.

Value

A buildmer terms list, which is just a normal data frame.

See Also

buildmer-package

Examples

form <- diag(f1 ~ (vowel1+vowel2+vowel3+vowel4)*timepoint*following +
             ((vowel1+vowel2+vowel3+vowel4)*timepoint*following|participant) + (timepoint|word))
tabulate.formula(form)
tabulate.formula(form,group='vowel[1-4]')

buildmer documentation built on Oct. 25, 2023, 9:08 a.m.