births2006.smpl {nutshell} | R Documentation |
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
.
data(births2006.smpl)
A data frame with 427323 observations on the following 13 variables.
DOB_MM
DOB_WK
MAGER
TBO_REC
WTGAIN
SEX
F
M
, representing the sex of the childAPGAR5
DMEDUC
UPREVIS
ESTGEST
DMETH_REC
DPLURAL
1 Single
, 2 Twin
, 3 Triplet
, 4 Quadruplet
, and 5 Quintuplet or higher
DBWT
http://www.cdc.gov/nchs/data_access/Vitalstatsonline.htm
data(births2006.smpl) library(lattice) histogram(~DBWT|DPLURAL,data=births2006.smpl) densityplot(~DBWT,groups=DPLURAL,data=births2006.smpl, plot.points=FALSE,auto.key=TRUE)