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 Dec. 17, 2024, 6:16 p.m.