add item response theory data necessary to use mml.sdf on NAEP data
Arguments
- data
a NAEP
edsurvey.data.frame- dctPath
a file location that points to the location of a NAEP
.dctfile (usually in theAMfolder). A.dctfile can be used to input custom item response theory (IRT) parameters and subscale/subtest weights for NAEP assessments compared with those provided in theNAEPirtparamspackage.
Examples
if (FALSE) { # \dontrun{
datFP <- "~/NAEP_Folder/Data/M50NT3AT.dat"
sdf <- readNAEP(path=datFP)
#how to set NAEP mml attributes
#if readNAEP does not detect them automatically
dctFP <- "~/NAEP_Folder/AM/M50NT3AT.dct"
sdf <- setNAEPScoreCard(data=sdf, dctPath=dctFP)
} # }