fp_fraction: Reduce a Factorial Plan by 1/2 Fraction

fp_fractionR Documentation

Reduce a Factorial Plan by 1/2 Fraction

Description

Reduce a Factorial Plan by 1/2 Fraction

Usage

fp_fraction(dm, formula, remove = TRUE)

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.

Value

A reduced factorial plan table (a factorial.plan object).

See Also

fp_design_matrix()

Examples

# build a 2^5-2 fractional factorial plan with defining relationships
#   I=ABCD and I=BCDE
fp_design_matrix(5) %>%
  fp_fraction(~A*B*C*D) %>%
  fp_fraction(~B*C*D*E)

adas.utils documentation built on April 12, 2025, 1:52 a.m.