n
documents
and first ncol
features for inspection.
"head"(x, n = 6L, nfeature = 6L, ...)
"tail"(x, n = 6L, nfeature = 6L, ...)
ncol
featuresn
and ncol
.
myDfm <- dfm(data_corpus_inaugural, ngrams = 2, verbose = FALSE)
head(myDfm)
tail(myDfm)
tail(myDfm, nfeature = 4)
Run the code above in your browser using DataLab