tm (version 0.6-1)

inspect: Inspect Objects

Description

Inspect, i.e., display detailed information on a corpus or a term-document matrix.

Usage

## S3 method for class 'PCorpus':
inspect(x)
## S3 method for class 'VCorpus':
inspect(x)
## S3 method for class 'TermDocumentMatrix':
inspect(x)

Arguments

x
Either a corpus or a term-document matrix.

Examples

data("crude")
inspect(crude[1:3])
tdm <- TermDocumentMatrix(crude)[1:10, 1:10]
inspect(tdm)