Description Usage Arguments Details Value
View source: R/write_labels_to_xl.R
These function writes labels to an Excel file (by first converting them to a data frame).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | write_labels_to_xl(
x,
file,
idCol,
labelCol,
preventOverwriting = mdmcda::opts$get("preventOverwriting"),
quiet = mdmcda::opts$get("quiet")
)
write_criterionLabels_to_xl(
x,
file,
preventOverwriting = mdmcda::opts$get("preventOverwriting"),
quiet = mdmcda::opts$get("quiet")
)
write_decisionLabels_to_xl(
x,
file,
preventOverwriting = mdmcda::opts$get("preventOverwriting"),
quiet = mdmcda::opts$get("quiet")
)
write_scenarioLabels_to_xl(
x,
file,
preventOverwriting = mdmcda::opts$get("preventOverwriting"),
quiet = mdmcda::opts$get("quiet")
)
write_alternativeLabels_to_xl(
x,
file,
preventOverwriting = mdmcda::opts$get("preventOverwriting"),
quiet = mdmcda::opts$get("quiet")
)
|
x |
The object with the labels: a named vector, except for alternative labels, which is a nested named list (see [read_labels_from_xl()]). |
file |
The filename to write to. |
idCol, labelCol |
For 'write_labels_to_xl()', the name of the columns with the identifiers and the labels. |
The 'write_labels_to_xl()' function is the underlying function; users typically don't interact with this function, unless they specified custom column names.
The written data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.