This function is deprecated and will be removed in a future version. Use build_candidate_set to build a candidate set from the utility functions, or expand.grid to create the full factorial of a list of attributes with levels that are different from those in the utility functions.

full_factorial(attrs)

Arguments

attrs

A named list of attributes and their levels

Value

A data frame containing the full factorial

Details

The function is a wrapper around expand.grid and generates the full factorial given the supplied attributes.

Examples

attrs <- list(
  a1 = 1:5,
  a2 = c(0, 1)
)

# Instead of full_factorial(attrs)
expand.grid(attrs)
#>    a1 a2
#> 1   1  0
#> 2   2  0
#> 3   3  0
#> 4   4  0
#> 5   5  0
#> 6   1  1
#> 7   2  1
#> 8   3  1
#> 9   4  1
#> 10  5  1