runtest: Run a classification or regression test

Description Usage Arguments Methods (by class) Examples

Description

Run a classification or regression test

Usage

1
2
3
4
runtest(test, ...)

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

Arguments

test

An object of class 'classification' or 'regression'

...

Extra arguments to runtest

Methods (by class)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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)

crtests documentation built on May 1, 2019, 9:09 p.m.