Learn R Programming

tm (version 0.7-1)

inspect: Inspect Objects

Description

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

Usage

# S3 method for PCorpus
inspect(x)
# S3 method for VCorpus
inspect(x)
# S3 method for TermDocumentMatrix
inspect(x)
# S3 method for TextDocument
inspect(x)

Arguments

x

Either a corpus, a term-document matrix, or a text document.

Examples

Run this code
# NOT RUN {
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