Learn R Programming

nutshell (version 1.02)

births2006.smpl: Births in the United States, 2006

Description

This data set contains information on babies born in the United States during 2006. There is one record per birth. This data set is a random ten percent sample.

This data set is used as an example in the book "R in a Nutshell" from O'Reilly Media. Indices for observations from the original data set that are used in this sample are included in births2006.idx.

Usage

data(births2006.smpl)

Arguments

source

http://www.cdc.gov/nchs/data_access/Vitalstatsonline.htm

Examples

Run this code
data(births2006.smpl)
library(lattice)
histogram(~DBWT|DPLURAL,data=births2006.smpl)
densityplot(~DBWT,groups=DPLURAL,data=births2006.smpl,
  plot.points=FALSE,auto.key=TRUE)

Run the code above in your browser using DataLab