File: print.gof.R

package info (click to toggle)
r-cran-erm 1.0-6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,952 kB
  • sloc: f90: 401; ansic: 103; makefile: 8
file content (10 lines) | stat: -rwxr-xr-x 376 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
print.gof <- function(x, ...)
{
  #print method for objects of class "gof" (from gofIRT.ppar)
  cdv <- round(x$test.table[1,], 3)
  cat("\nGoodness-of-Fit Results:")
  cat("\nCollapsed Deviance = ", cdv[1], " (df = ", cdv[2], ", p-value = ", cdv[3], ")", sep ="")
  cat("\nPearson R2:", round(x$R2$R2.P, 3))
  cat("\nArea Under ROC:", round(x$AUC, 3))
  cat("\n\n")
}