View source: R/firststage_functions.R
create_docsets | R Documentation |
Create training and test set document matrices
create_docsets(alldocs, size, seed)
alldocs |
The document data.frame to be split |
size |
Size of the training set (must be smaller than number of documents in the data.frame) |
seed |
Seed for randomization to ensure replicability |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.