Learn R Programming

ngramr (version 1.9.3)

print.ngram: Print n-gram contents

Description

Print n-gram contents

Usage

# S3 method for ngram
print(x, rows = 6, ...)

Arguments

x

ngram object as returned by link{ngram}

rows

number of rows to print. Default is 6.

...

additional parameters passed to default print method.

Examples

Run this code
x <- ngram(c("hacker", "programmer"), year_start = 1950)
print(x)

Run the code above in your browser using DataLab