ExpandFormula | R Documentation |
Parse a lme4 formula and return all main effects and interactions as separate terms
ExpandFormula(form)
form |
Formula to be expanded. |
The same formula, but with all interactions and mai neffects as separate terms
ExpandFormula(rt ~ pull * target + (pull * target | subjectid))
#> rt ~ pull + target + pull:target + (pull + target + pull:target | subjectid)
ExpandFormula(rt ~ pull * target + (pull * target || subjectid))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.