model_type_to_int: Map resolved model name to integer code

View source: R/istem-helpers.R

model_type_to_intR Documentation

Map resolved model name to integer code

Description

Converts the canonical model string returned by resolve_model_type() to the integer code expected by the Stan models (1 = 1PL, 2 = 2PL, 3 = 3PL, 4 = 4PL).

Usage

model_type_to_int(model)

Arguments

model

Character string (canonical model name).

Value

Integer model type code.


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