resolve_fc_type: Auto-detect forced-choice response type from data

View source: R/istem-helpers.R

resolve_fc_typeR Documentation

Auto-detect forced-choice response type from data

Description

When fc.type is NULL, inspects the ranking strings in the data columns to infer whether they represent RANK, MOLE, or PICK.

Usage

resolve_fc_type(fc.type, data, block.items = NULL)

Arguments

fc.type

User-supplied fc.type or NULL.

data

The forced-choice data matrix.

block.items

Optional block-item list.

Value

Character vector of fc.type values (one per block).


ForceChoice documentation built on Sept. 13, 2026, 1:06 a.m.