R/print.RespFit.r

Defines functions print.RespFit

print.RespFit=function(x, ...){
  x->object
  cat("\n")
  cat(if(toupper(object$model)==2) "Q-diffusion" else "D-diffusion","Model Fit of Responses\n")
  cat("---------------------------------\n")
  cat("Maydeu-Olivares & Joe Test of Order 2\n\n")
   cat("Overall Test Statistic\n")
  cat("Mr =",round(object$Mr,3),"  df=",object$df,"  p = ",round(pchisq(object$Mr,object$df,lower.tail=F),3),"\n")
}

Try the diffIRT package in your browser

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

diffIRT documentation built on May 2, 2019, 4:51 a.m.