Import scenario definitions defined in columns

read_scenarioDefinitions_in_columns_from_xl(
  file,
  decisionId_col = mdmcda::opts$get("decisionId_col"),
  decisionLabel_col = mdmcda::opts$get("decisionLabel_col"),
  decisionDescription_col = mdmcda::opts$get("decisionDescription_col"),
  decisionAlternatives_col = mdmcda::opts$get("decisionAlternatives_col")
)

Arguments

file

The filename holding the scenario definitions, with the first three columns specifying the decision identifiers, labels, and descriptions, the fourth column specifying the concatenated alternative labels and values, and the other columns specifying scenarios, with each column name being a scenario identifier, and the values in each column indicating the selected alternative value for each decision.

decisionId_col, decisionLabel_col, decisionDescription_col, decisionAlternatives_col

The column names.

Value

A list of vectors (i.e. a scenarioDefinitions object).