DayOfBirth {abd}R Documentation

Day of Birth

Description

Day of the week for 350 U.S. births in 1999.

Format

A data frame with 7 observations on the following 2 variables.

day

a character vector

births

a numeric vector

Source

Ventura, S.J., J.A. Martin, S.C. Curtin, F. Menacker, and B.E. Hamilton. 2001. Births: final data for 1999. National Vital Statistics Reports Vol. 49, No. 1.

References

http://cdc.gov/NCHS/products/nvsr.htm

Examples

DayOfBirth
barchart( day ~ births, DayOfBirth, origin=0)

# Fix bad ordering of days
DayOfBirth$oday <- with(DayOfBirth, ordered(day, levels = day))
barchart( oday ~ births, DayOfBirth, origin=0)
barchart( births ~ oday, DayOfBirth, horizontal = FALSE, origin=0)
barchart( births ~ oday, DayOfBirth, horizontal = FALSE, origin=0,
 scales = list(x=list(rot=45)))

barplot(DayOfBirth$births,
  ylim = c(0, 70),
  names.arg = DayOfBirth$day,
  las = 2,
  mgp = c(3, 0.75, 0))

[Package abd version 0.2-8 Index]