R/print.R

Defines functions print.cumres summary.cumres

##' @S3method print cumres
print.cumres <- function(x,...) {
  cat("\n");
  for (i in 1:length(x$variable)) {
    cat("Kolmogorov-Smirnov-test: p-value=", x$KS[i], "\n", sep="")
    cat("Cramer von Mises-test: p-value=", x$CvM[i], "\n", sep="")
    cat("Based on ", x$R, " realizations. Cumulated residuals ordered by ", x$variable[i], "-variable.\n", sep="")
    cat("---\n");
  }
  invisible(x)
}

##' @S3method summary cumres
summary.cumres <- function(object,...) print(object,...)

Try the gof package in your browser

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

gof documentation built on May 2, 2019, 5:52 p.m.