Presiden {BSDA}R Documentation

Ages at inauguration and death of U.S. presidents

Description

Data for Exercise 1.126

Usage

Presiden

Format

A data frame with 43 observations on the following 5 variables.

firs
a factor with levels A. B. C. D. F. G. G. W. H. J. L. M. R. T. U. W. Z.
Presiden
a factor with levels Adams Arthur Buchanan Bush Carter Cleveland Clinton Coolidge Eisenhower Fillmore Ford Garfield Grant Harding Harrison Hayes Hoover Jackson Jefferson Johnson Kennedy Lincoln Madison McKinley Monroe Nixon Pierce Polk Reagan Roosevelt Taft Taylor Truman Tyler VanBuren Washington Wilson
Birt
a factor with levels ARK CAL CONN GA IA ILL KY MASS MO NC NEB NH NJ NY OH PA SC TEX VA VT
Inaugage
a numeric vector
Deathage
a numeric vector

Source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

str(Presiden)
attach(Presiden)
table(Birt)
pie(table(Birt))
stripchart(x=list(Inaugage,Deathage),method="stack",
group.names=c("Inaugural Age","Death Age"),col=c("green","brown"),pch=19)
detach(Presiden) 

[Package BSDA version 0.1 Index]