getTest {FKBL} | R Documentation |
This function belongs to a pair, whose other function is getTrain. It divides the problem in the number of chunks given. And returns the i-th chunck.
getTest(data,chunks,i)
Takes the data, the number of chunks and the test chunck.
data |
The data of the problem. |
chunks |
The number of chunks to divide the data. |
i |
The chunk to return. |
A dataset with the test data.
data(trainA) getTest(trainA,10,1)