View source: R/057-emerging-process-irt-0-7.R
| encode_response_combinations | R Documentation |
Encode multiple-response item response combinations
encode_response_combinations(
data,
person = "participant_id",
item = "item_id",
option = "option_id",
selected = "selected",
sort_options = TRUE,
empty_code = "<none>"
)
data |
Long person-item-option table. |
person, item, option, selected |
Column names. |
sort_options |
Sort selected option labels before combining. |
empty_code |
Code for no selected options. |
A tabular R object containing encode multiple-response item response combinations; rows represent analysis units and columns contain the returned quantities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.