Skip to contents

Parse through a research design, iterating over all possible choices, thereby exhausting all documented researcher degrees of freedom. Returns a data frame containing the results for all choice combinations.

Usage

exhaust_design(
  d,
  start_input,
  weight = FALSE,
  est_by_cchoice = 10,
  verbose = FALSE
)

Arguments

d

A character vector of the research design steps function names.

start_input

The input data for the first step.

weight

Whether each step's choices should be weighted by their user assigned weights as included in the choice_type. Protocols with zero weight are excluded from the analysis. Defaults to FALSE.

est_by_cchoice

Each continous choice will be evaluated by est_by_choice equally spaced steps, staring at valid_min and ending at valid_max.

verbose

Set to TRUE for some additional diagnostic output. Useful for large designs that take a while to process.

Value

A data frame containing results for all feasible choice permutations.

Details

See the vignette of the package for further details.

Examples

if (FALSE) {
  print("Sorry. No examples yet.")
}