View source: R/factorial_plan.R
| fp_defrel | R Documentation |
Builds a formula from a number of factors
fp_defrel(arg)
arg |
If it is a formula, it is returned verbatim. If it is a number, a formula is built with the number of factors. If it is neither a formula nor a number, an error is thrown. |
A formula.
# Defining relationships with three factors
fp_defrel(3)
# Defining relationship I=ABC
fp_defrel(~A*B*C)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.