makeItemDfs function

makeItemDfs

makeItemDfs

takes in a list of item matrices and returns a list of data frames each representing the parameters given in the matrices. The return object is suitable to pass into conquestr::makeItemList to construct a lit of matrices where each matrix represent one item's set of item parameters. The structure of the matrix is the same as used in conquestr::simplef

(a matrix of k categories by four (category score, delta dot, tau, discrimination)). A common use for this function is turn a list of item matrices into a flat data structure.

makeItemDfs(itemList)

Arguments

  • itemList: a list of item matrices. The structure of each matrix is the same as used in conquestr::simplef

    (a matrix of k categories by four (category score, delta dot, tau, discrimination)).

Returns

a list.

Examples

nItems <- 10 myItemsDeltaDot <- data.frame( id= seq(nItems), itemid= NA, delta = runif (nItems, -4, 1) # nItems items in range -4,1 ) myItemsList <- conquestr::makeItemList(deltaDot = myItemsDeltaDot)
  • Maintainer: Dan Cloney
  • License: GPL-3
  • Last published: 2025-02-19