R/itemParEst.r

Defines functions itemParEst

Documented in itemParEst

itemParEst<-function(data,model,c=NULL,engine="ltm",discr=1){
if (is.null(c)==TRUE) res<-switch(model,"1PL"=itemPar1PL(data,engine=engine,discr=discr),"2PL"=itemPar2PL(data),"3PL"=itemPar3PL(data))
else res<-itemPar3PLconst(data,c=c)
return(res)}

Try the difR package in your browser

Any scripts or data that you put into this service are public.

difR documentation built on July 2, 2020, 3:34 a.m.