Description Usage Arguments Value
splitBy
builds a training set and validation set by placing
all samples that have the include
annotation in the specified
colBy
column in the training set. The remaining samples get
placed in the validation set. This split
is not random.
1 | splitBy(object, colBy, include)
|
object |
An |
colBy |
A character string. Specifies the column used to split the data. |
include |
A character vector. Specifies which annotations in |
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.