Description Usage Arguments Format Details Methods Author(s) See Also
Sample
Creates Corpus from a Corpus sample.
1 |
x |
Corpus object. |
n |
Numeric of length one, or numeric vector of length equal to the number of documents in the Corpus. |
stratify |
Logical. If TRUE (default), samples will be taken from each document in accordance with the proportions or counts indicated in the 'n' parameter. |
seed |
Numeric used to initialize a pseudorandom number generator. |
An object of class R6ClassGenerator
of length 24.
Creates a Corpus object from a sample of a Corpus object.
new()
Not implemented.
John James, jjames@datasciencesalon.org
Other Corpus Sample Family of Classes: KFold
,
Sample0
, Segment
Other CorpusStudio Family of Classes: CorpusStudio
,
KFold
, Sample0
,
Segment
, Split
,
TokenizerNLP
, TokenizerQ
,
Tokenizer
, Token
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.