DtResult: Decision Tree Result in Text View and Plot

View source: R/DtResult.R

DtResultR Documentation

Decision Tree Result in Text View and Plot

Description

Decision Tree Result in Text View and Plot

Usage

DtResult(ModelObject)

Arguments

ModelObject

A fitted model object from TreeModels() or TreeModelsAllSteps() functions.

Value

This function returns the structure of the decision tree final model as a text view, and a plot of the rpart model object as displayed by the rpart.plot package.

Examples


colnames(training)[14] <- "perf"
ensemblist <- TreeModels(traindata = training,
methodlist = "dt",checkprogress = TRUE)

DtResult(ensemblist$ModelObject)


LOGANTree documentation built on June 23, 2022, 1:06 a.m.