plotRpart: plotRpart

Description Usage Arguments Examples

View source: R/SUB_nD_plotRpart.R

Description

Subroutine for creating tree plots of the output from applyRpart()

Usage

1
plotRpart(x, label = "Var Name")

Arguments

x

object created by applyRpart()

label

plot title

Examples

1
2
3
formula.use <- as.formula("Species ~ Sepal.Length + Sepal.Width + Petal.Length + Petal.Width")
test.fit <- applyRpart(formula.use, data = iris,minsplit = 10)
plot(test.fit,label="Species Identification Tree")

SOLV-Code/SPATFunctions-Package documentation built on April 25, 2020, 12:59 a.m.