encode_response_combinations: Encode multiple-response item response combinations

View source: R/057-emerging-process-irt-0-7.R

encode_response_combinationsR Documentation

Encode multiple-response item response combinations

Description

Encode multiple-response item response combinations

Usage

encode_response_combinations(
  data,
  person = "participant_id",
  item = "item_id",
  option = "option_id",
  selected = "selected",
  sort_options = TRUE,
  empty_code = "<none>"
)

Arguments

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.

Value

A tabular R object containing encode multiple-response item response combinations; rows represent analysis units and columns contain the returned quantities.


eyeprocess documentation built on Sept. 28, 2026, 5:08 p.m.