R/prune.R

Defines functions prune

Documented in prune

#' Prune or reduce an object
#'
#' @section Methods:
#' \Sexpr[stage=render,results=rd]{generics:::methods_rd("prune")}
#'
#' @param tree A fitted model object.
#' @param ... Other arguments passed to methods
#' @export
prune <- function(tree, ...) {
  UseMethod("prune")
}

Try the generics package in your browser

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

generics documentation built on July 6, 2022, 1:08 a.m.