Test whether a design candidate fits the constraints imposed by the level occurrences

fits_lvl_occurrences(utility, x, rows)

Arguments

utility

A named list of utility functions. See the examples and the vignette for examples of how to define these correctly for different types of experimental designs.

x

An object of class 'utility' or 'spdesign'

rows

Number of rows in the design

Value

A boolean equal to TRUE if attribute level balanced