fp_alias_matrix {adas.utils} | R Documentation |
Build the alias matrix
Description
Given a list of formulas (defining relationships), this function returns a matrix of all possible aliases.
Usage
fp_alias_matrix(...)
Arguments
... |
one or more formulas, or a single list of formulas, or a fractional factorial plan. |
Details
It is also possible to pass a fractional factorial plan, in which case the defining relationships will be extracted from it.
Value
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.
See Also
Examples
# 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()
[Package adas.utils version 1.2.0 Index]