inTrees (version 1.2)

presentRules: Present a learner using column names instead of X[i,]

Description

Present a learner using column names instead of X[i,]

Usage

presentRules(rules, colN, digits)

Arguments

rules

a set of rules

colN

a vector including the column names

digits

digits for rounding

Value

a matrix including the conditions (with column names), etc.

See Also

buildLearner

Examples

Run this code
# NOT RUN {
 # See function "buildLearner"
# }

Run the code above in your browser using DataLab