Learn R Programming

quanteda.tidy (version 0.4)

glimpse: Get a glimpse of a quanteda object

Description

Implementation of glimpse for quanteda objects, allowing docvars to be viewed.

Usage

# S3 method for corpus
glimpse(x, width = NULL, ...)

Value

Invisibly returns the input corpus. Called primarily for its side effect of printing a summary to the console.

Arguments

x

a corpus or quanteda object

width

width of the output; default to the width of the console

...

unused

Examples

Run this code
glimpse(data_corpus_inaugural)

Run the code above in your browser using DataLab