runtest {crtests}R Documentation

Run a classification or regression test

Description

Run a classification or regression test

Usage

runtest(test, ...)

## Default S3 method:
runtest(test, ...)

Arguments

test

An object of class 'classification' or 'regression'

...

Extra arguments to runtest

Methods (by class)

Examples

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
runtest(test)

## End(Not run)

[Package crtests version 0.2.1 Index]