Learn R Programming

alr3 (version 2.0.5)

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

Source

Mosteller, F. and Wallace, D. (1964). Inference and Disputed Authorship: The Federalist. Reading, MA: Addison-Wesley.

References

Weisberg, S. (2005). Applied Linear Regression, 3rd edition. New York: Wiley, Problem 2.10.

Examples

Run this code
head(MWwords)

Run the code above in your browser using DataLab