View source: R/reparameterize.r
termsToFormula | R Documentation |
used by the PersonAlyticsPower GUI
termsToFormula(terms, random = ~Time | id)
terms |
Character vector or list. |
random |
A random effects formula. The default is |
terms <- c("group1_phase1_int",
"group1_phase1_slope",
"group1_phase2_int",
"group1_phase2_slope",
"group1_phase3_int",
"group1_phase3_slope",
"group2_phase1_int",
"group2_phase1_slope",
"group2_phase2_int",
"group2_phase2_slope",
"group2_phase3_int",
"group2_phase3_slope")
termsToFormula(terms)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.