R/summary.R

#' Summary results from dtree.
#'
#' @param object An object from dtree.
#' @param ... Other arguments.
#' @method summary dtree
#' @export


summary.dtree <- function(object,...){

  ret <- list(results = object$return.matrix,
              response.type = object$response.type,
              call = object$call)


  class(ret) <- "summary.dtree"
  print(ret)
}

Try the dtree package in your browser

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

dtree documentation built on May 1, 2019, 9:19 p.m.