
Last chance! 50% off unlimited learning
Sale ends in
Inspect, i.e., display detailed information on a corpus, a term-document matrix, or a text document.
# S3 method for PCorpus
inspect(x)
# S3 method for VCorpus
inspect(x)
# S3 method for TermDocumentMatrix
inspect(x)
# S3 method for TextDocument
inspect(x)
Either a corpus, a term-document matrix, or a text document.
data("crude")
inspect(crude[1:3])
inspect(crude[[1]])
tdm <- TermDocumentMatrix(crude)[1:10, 1:10]
inspect(tdm)
Run the code above in your browser using DataLab