Test whether a design candidate fits the constraints imposed by the level occurrences
fits_lvl_occurrences(utility, x, rows)
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.
An object of class 'utility' or 'spdesign'
Number of rows in the design
A boolean equal to TRUE if attribute level balanced