sanitizeModel: (Internal) Sanitize item model names for C++ functions

View source: R/other_functions.R

sanitizeModelR Documentation

(Internal) Sanitize item model names for C++ functions

Description

sanitizeModel is an internal function for sanitizing item model names to be passed onto C++ functions.

Usage

sanitizeModel(model)

Arguments

model

a vector containing item model names.

Value

sanitizeModel returns a numeric vector, with

  • item_1PL converted to 1

  • item_2PL converted to 2

  • item_3PL converted to 3

  • item_PC converted to 4

  • item_GPC converted to 5

  • item_GR converted to 6


choi-phd/TestDesign documentation built on Oct. 1, 2024, 2:37 a.m.