Description Usage Arguments Value
View source: R/get_alternativeLabel.R
Get the alternative labels based on a data frame
1 2 3 4 5 6 | get_alternativeLabel(
x,
alternativeLabels,
decisionId_col = mdmcda::opts$get("decisionId_col"),
alternativeValue_col = mdmcda::opts$get("alternativeValue_col")
)
|
x |
The data frame with a column with the decision identifier and the alternative value. |
alternativeLabels |
The object with the alternative labels (a named list of named lists). |
decisionId_colalternativeValue_col |
The names of the columns of the decision identifier and the alternative value in data frame 'x'. |
A vector with alternative labels for the alternative values for each decision.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.