inspect | R Documentation |
Inspect, i.e., display detailed information on a corpus, a term-document matrix, or a text document.
## S3 method for class 'PCorpus'
inspect(x)
## S3 method for class 'VCorpus'
inspect(x)
## S3 method for class 'TermDocumentMatrix'
inspect(x)
## S3 method for class 'TextDocument'
inspect(x)
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.