fp_fraction: Reduce a Factorial Plan by 1/2 Fraction
Description
Reduce a Factorial Plan by 1/2 Fraction
Usage
fp_fraction(dm, formula, remove = TRUE)
Value
A reduced factorial plan table (a factorial.plan object).
Arguments
dm
A factorial plan table.
formula
A formula for the defining relationship.
remove
A logical value indicating if the removed columns should be
removed. This setting is sticky: if it is FALSE and you pipe the result of
this function to another fp_fraction() call, the columns will be
kept by default.
# build a 2^5-2 fractional factorial plan with defining relationships# I=ABCD and I=BCDEfp_design_matrix(5) %>%
fp_fraction(~A*B*C*D) %>%
fp_fraction(~B*C*D*E)