Learn R Programming

DIscBIO (version 1.2.2)

RpartEVAL: Evaluating the performance of the RPART Decision Tree.

Description

This function evaluates the performance of the generated trees for error estimation by ten-fold cross validation assessment.

Usage

RpartEVAL(data, num.folds = 10, First = "CL1", Second = "CL2", quiet = FALSE)

Value

Performance statistics of the model

Arguments

data

The resulted data from running the function J48DT.

num.folds

A numeric value of the number of folds for the cross validation assessment. Default is 10.

First

A string vector showing the first target cluster. Default is "CL1"

Second

A string vector showing the second target cluster. Default is "CL2"

quiet

If `TRUE`, suppresses intermediary output