Learn R Programming

alr4 (version 1.0.7)

MWwords: Word frequencies from Mosteller and Wallace

Description

The data give the frequencies of words in works from four different sources: the political writings of eighteenth century American political figures Alexander Hamilton, James Madison, and John Jay, and the book Ulysses by twentieth century Irish writer James Joyce.

Arguments

Format

This data frame uses the word as row labels and contains the following columns:

Hamilton

Hamilton frequency

HamiltonRank

Hamilton rank

Madison

Madison frequency

MadisonRank

Madison rank

Jay

Jay frequency

JayRank

Jay rank

Ulysses

Word frequency in Ulysses

UlyssesRank

Word rank in Ulysses

References

Weisberg, S. (2014). Applied Linear Regression, 4th edition. Hoboken NJ: Wiley.

Examples

Run this code
head(MWwords)

Run the code above in your browser using DataLab