Learn R Programming

TDMR (version 2.2)

dsetTest.TDMdata: Return test data of TDMdata object

Description

Return the test part of a TDMdata object containing the task data.

Usage

# S3 method for TDMdata
dsetTest(x, ...)

Arguments

x

return value from a prior call to tdmReadAndSplit, an object of class TDMdata.

...

may contain nExp, experiment number, needed only if x$tdm$umode=="SP_T": add nExp to seed when randomly splitting in train and test data [default: nExp=0]

Value

tset, a data frame with all test records. If there are 0 test records, return NULL.

See Also

unbiasedRun dsetTrnVa.TDMdata tdmReadAndSplit