R/specTest-methods.R

### print

setMethod("print", "specTest", 
          function (x, digits = 5, ...) 
          {
              cat("\n", x@testname, "\n")
              print.default(x@test, digits = digits, print.gap = 2, 
                            quote = FALSE)
              cat("\n")
          })

### show

setMethod("show", "specTest", function(object) print(object)) 

Try the momentfit package in your browser

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

momentfit documentation built on June 7, 2023, 6:30 p.m.