generate_choice_df: Creates the choice dataframe for the exhaust_design functions

View source: R/generate_choice_df.R

generate_choice_dfR Documentation

Creates the choice dataframe for the exhaust_design functions

Description

Creates the choice dataframe for the exhaust_design functions

Usage

generate_choice_df(d, weighted = FALSE, est_by_cchoice = 10, verbose = FALSE)

Arguments

d

A character vector of the research design steps function names

weighted

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 continuous 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.

Details

See the vignette of the package for further details.

Value

A dataframe containing all feasible research design choices

Examples

## Not run: 
  print("Sorry. No examples yet.")

## End(Not run)

joachim-gassen/rdfanalysis documentation built on Aug. 22, 2023, 5:29 p.m.