Learn R Programming

animation (version 2.1)

ObamaSpeech: Word counts of a speech by the US President Obama

Description

This data recorded the number of words in each paragraph of Barack Obama's speech in Chicago after winning the presidential election.

Usage

data(ObamaSpeech)

Arguments

format

int [1:59] 2 45 52 53 11 48 28 15 50 29 ...

source

The full text of speech is at http://www.baltimoresun.com/news/nation-world/bal-text1105,0,5055673,full.story

Examples

Run this code
data(ObamaSpeech)
## pattern: longer paragraph and shorter paragraph
plot(ObamaSpeech, type = "b", pch = 20, xlab = "paragraph index", ylab = "word count")

Run the code above in your browser using DataLab