The function checks the list of design options specified by the user and sets sensible defaults where no option is specified. The function is meant for internal use only and is not exported to be used by the users. All options can be overridden by the the user by appropriately specifying design_opt_input.

Below is a list defining each of the options available to be specified in design_opt_input.

check_design_opt(design_opt_input)

Arguments

design_opt_input

A list of user supplied design options.

Value

Returns a list of design options with the missing from input replaced by default values

Details

rules

Number of rules (i.e. rows)

actions

Number of actions (i.e. columns)

min

Minimum number of actions available for the considered rule

max

Maximum number of actions available for the considered rule

min_fit

Minimum number of rules fitting each permitted action conditional on the rule

obligatory

Number of rules with obligatory actions

sd_entropy

Specifies the standard deviation of the entropy values

designs

Number of designs to generate

max_iter

Maximum number of iterations before stopping search for designs

seed

A seed for the random number generator. Useful for replicability