Learn R Programming

crtests (version 0.2.1)

summary.evaluation: Summary of an evaluation

Description

Produces a summary of an evaluation, consisting of the test attributes and the performance measures

Usage

"summary"(object, include_test_attributes = TRUE, ...)

Arguments

object
Evaluation object to make summary of
include_test_attributes
Logical. Should all attributes of the test be included in the output?
...
Extra arguments to summary.evaluation

Examples

Run this code
data(iris)
# A classification test
test <- createtest(data = iris, 
                  dependent = "Species",
                  problem = "classification",
                  method = "randomForest",
                  name = "An example classification test",
                  train_index = sample(150, 100)
)
## Not run: 
# # Run the test. The result is an object of class "evaluation"
# evaluation <- runtest(test) 
# summary(results)
# ## End(Not run)

Run the code above in your browser using DataLab