Learn R Programming

SciencesPo (version 1.3.9)

words: 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. This dataset 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.

Usage

data(words)

Arguments

encoding

UTF-8

format

A data.frame object with ncol(SciencesPo::words) variables and nrow(SciencesPo::words) observations.

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.