mplot3_prp: Plot CART Decision Tree

View source: R/mplot3_prp.R

mplot3_prpR Documentation

Plot CART Decision Tree

Description

Plot output of a regression or classification tree created using rpart A wrapper for rpart.plot::rpart.plot

Usage

mplot3_prp(
  object,
  type = 0,
  extra = "auto",
  branch.lty = 1,
  under = FALSE,
  fallen.leaves = TRUE,
  palette = NULL,
  filename = NULL,
  pdf.width = 7,
  pdf.height = 5,
  ...
)

Arguments

object

Output of s_CART

palette

Color vector


egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.