
Calculates item nearest neighbor imputation approach discussed by Yeh et al. (2023)
Source:R/mcq.R
inn.RdCalculates item nearest neighbor imputation approach discussed by Yeh et al. (2023)
Arguments
- dat
A single subject's MCQ data in long form
- reg
Registry list from
.mcq_registry()- random
Boolean whether to insert a random draw (0 or 1) for NAs
- verbose
Boolean whether to print subject and question ids pertaining to missing data