https://github.com/cran/eRm
Raw File
Tip revision: d08460987ea51cdf020292a03d490b7d80b8e579 authored by Patrick Mair on 24 October 2007, 00:00:00 UTC
version 0.9-5
Tip revision: d084609
print.pfit.R
`print.pfit` <-
function(x,...)
# print method for itemfit
# x...object of class "ifit" from (itemfit)
{
  pvalues <- 1-pchisq(x$p.fit,x$p.df)
  coef.table <- cbind(round(x$p.fit,3),x$p.df,round(pvalues,3))
  colnames(coef.table) <- c("Chisq","df","p-value")
  rownames(coef.table) <- names(x$p.fit)
  cat("\nChi-square Personfit Statistics: \n")
  print(coef.table)
  cat("\n")
}

back to top