R/print.R

Defines functions print.methcon

#' @export
print.methcon <- function(x, ...) {
  cat("# Methcon object\n")
  cat("# .id:", attr(x, ".id"), "\n")
  cat("# .value:", attr(x, ".value"), "\n")

  class(x) <- setdiff(class(x), "methcon")
  print(x)
}

Try the methcon5 package in your browser

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

methcon5 documentation built on Jan. 11, 2020, 9:39 a.m.