read_scenarioDefinitions_in_columns_from_xl: Import scenario definitions defined in columns

Description Usage Arguments Value

View source: R/read_scenarioDefinitions_in_columns_from_xl.R

Description

Import scenario definitions defined in columns

Usage

1
2
3
4
5
6
7
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).


Matherion/mdmcda documentation built on Dec. 31, 2020, 3:13 p.m.