sanitizeModel function

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

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

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

sanitizeModel(model)

Arguments

  • model: a vector containing item model names.

Returns

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
  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2024-08-22