tests/testthat/test-tabulate.formula.R

library(buildmer)
library(testthat)
test_that('tabulate.formula',{
	form <- diag(f1 ~ (vowel1+vowel2+vowel3+vowel4)*timepoint*following +
	             ((vowel1+vowel2+vowel3+vowel4)*timepoint*following|participant) + (timepoint|word))
	buildmer:::testthat.compare.df(tabulate.formula(form),'tabulate.formula1')
	buildmer:::testthat.compare.df(tabulate.formula(form,group='vowel[1-4]'),'tabulate.formula2')
})

Try the buildmer package in your browser

Any scripts or data that you put into this service are public.

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