Description Usage Arguments Value
splitSample
builds a training and validation set by randomly sampling
the subjects found within the ExprsArray
object. Note that this method
is not truly random. Instead, splitSample
iterates through the random sampling
process until it settles on a solution such that both the training and validation set
contain at least one subject for each class label. If this method finds no solution
after 10 iterations, the function will post an error. Set percent.include = 100
to skip random sampling and return a NULL
validation set. Additional arguments
(e.g., replace = TRUE
) passed along to sample
.
1 | splitSample(object, percent.include = 67, ...)
|
object |
An |
percent.include |
Specifies the percent of the total number of subjects to include in the training set. |
... |
For |
Returns a list of two ExprsArray
objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.