MWwords: Word frequencies from Mosteller and Wallace

Description Format Source References Examples

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.

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. (2014). Applied Linear Regression, 4th edition. Hoboken NJ: Wiley.

Examples

1

Example output

Loading required package: car
Loading required package: carData
Loading required package: effects
lattice theme set by effectsTheme()
See ?effectsTheme for details.
    Hamilton HamiltonRank Madison MadisonRank   Jay JayRank Ulysses UlyssesRank
the    91.27            1   93.65           1 67.48       1   57.12           1
of     64.65            2   57.80           2 43.87       3   29.90           2
to     40.71            3   35.25           3 35.69       4   18.84           5
and    24.50            4   27.55           4 45.36       2   27.53           3
in     24.37            5   23.05           5 20.82       5   18.75           6
a      22.85            6   20.22           6 13.57      10   24.59           4

alr4 documentation built on May 2, 2019, 2:13 p.m.

Related to MWwords in alr4...