corpus_sample
or dfm_sample
insteadsample(x, size, replace = FALSE, prob = NULL, ...)# S3 method for default
sample(x, size, replace = FALSE, prob = NULL, ...)
# S3 method for corpus
sample(x, ...)
# S3 method for dfm
sample(x, ...)
corpus_sample
, dfm_sample