I am trying to use the itemanalysis package to analyse a multiple-select assessment. For these items, there are 6 options and 3 of them are keys. I am wondering if it is possible to modify the “key” vector in the itemanalysis1 code to accommodate multiple keys per item. I tried two solutions: creating a three-variable data frame for the key, and using a format like “A,C,E” for the key vector , but neither worked. At your convenience, please let me know if there is a solution for this situation.

I am trying to use the itemanalysis package to analyse a multiple-select assessment. For these items, there are 6 options and 3 of them are keys. I am wondering if it is possible to modify the “key” vector in the itemanalysis1 code to accommodate multiple keys per item. I tried two solutions: creating a three-variable data frame for the key, and using a format like “A,C,E” for the key vector , but neither worked. At your convenience, please let me know if there is a solution for this situation.