R/print.ctree.R

Defines functions print.ctree

print.ctree <- function(x, digits = max(3L, getOption("digits") - 3L), ...)
{
  cat("\ncall:\n",
      paste(deparse(x$call), sep = "\n", collapse = "\n"), "\n", sep = "")
  cat("\nnodeclass:\n")
  print.default(format(x$nodeclass), print.gap = 2L, quote = FALSE)
  cat("\nnnd:\n", x$nnd, "\n", sep = "")
  cat("\n")

  invisible(x)
}

Try the macs package in your browser

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

macs documentation built on Oct. 9, 2019, 5:05 p.m.