shakespeare: Data - Shakespeare (term-document matrix)

Description Usage Format Details Examples

Description

A term-document matrix drawn from the Folger Digital Texts editions of William Shakespeare's works.

Usage

1

Format

A matrix with 5,000 rows and 500 columns.

Details

Folger Digital Texts

Examples

1
2
3
# Load the matrix, then analyze a term.
data(shakespeare)
similarity(mat = shakespeare, vec = "TN", margin = 2)

michaelgavin/empson documentation built on May 22, 2019, 9:50 p.m.