Marks a group of option-columns as a multiple-response (MR) question. Each
column is normalized to a 2-level Selected / Not Selected factor and shares
one alias; the per-column option text is parsed from the label and stored in
the option metadata field.
Usage
step_set_mr(
x,
.cols,
alias = NULL,
alias_name = NULL,
description = NULL,
template = "{question} | {option}",
snapshot_data = FALSE,
status = TRUE
)Arguments
- x
A
srv_tbl.- .cols
Tidy-select expression picking the option-columns.
- alias
Alias (group key). Required — the option-columns share it.
- alias_name
Human-friendly display name for the group.
- description
Overrides the template-parsed question (group level).
- template
Glue-style template. Default
"{question} | {option}".- snapshot_data
Logical. If
TRUE, a snapshot with data is taken; ifFALSE, without data; ifNULL, no snapshot.- status
Logical. If
TRUE, a status message is printed.