fp_alias_matrix | R Documentation |
Given a list of formulas (defining relationships), this function returns a matrix of all possible aliases.
fp_alias_matrix(...)
... |
one or more formulas, or a single list of formulas, or a fractional factorial plan. |
It is also possible to pass a fractional factorial plan, in which case the defining relationships will be extracted from it.
a square matrix: each cell is 0
if there is no alias, or an
integer representing the index of the generator that produced that alias
in the list of generators.
fp_fraction()
# with formulas:
fp_alias_matrix(~A*B*C, ~B*C*D)
# with a fractional factorial plan:
fp_design_matrix(5) %>%
fp_fraction(~A*B*C*D) %>%
fp_fraction(~B*C*D*E) %>%
fp_alias_matrix() %>%
plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.