openintro (version 1.7.1)

births: North Carolina births

Description

Data on a random sample of 100 births for babies in North Carolina where the mother was not a smoker and another 50 where the mother was a smoker.

Usage

data(births)

Arguments

Format

A data frame with 150 observations on the following 14 variables.

fAge

Father's age.

mAge

Mother's age.

weeks

Weeks at which the mother gave birth.

premature

Indicates whether the baby was premature or not.

visits

Number of hospital visits.

gained

Weight gained by mother.

weight

Birth weight of the baby.

sexBaby

Gender of the baby.

smoke

Whether or not the mother was a smoker.

References

Birth records released by North Carolina in 2004.

Examples

Run this code
# NOT RUN {
data(births)
boxPlot(births$weight, births$smoke)
# }

Run the code above in your browser using DataLab