r-lib / generics
1
#' Prune or reduce an object
2
#'
3
#' @section Methods:
4
#' \Sexpr[stage=render,results=rd]{generics:::methods_rd("prune")}
5
#'
6
#' @param tree A fitted model object.
7
#' @param ... Other arguments passed to methods
8
#' @export
9
prune <- function(tree, ...) {
10 0
  UseMethod("prune")
11
}

Read our documentation on viewing source code .

Loading