Learn R Programming

openintro (version 2.4.0)

present: Birth counts

Description

An updated version of the historical Arbuthnot dataset. Numbers of boys and girls born in the United States between 1940 and 2002.

Usage

present

Arguments

Format

A data frame with 63 observations on the following 3 variables.

year

Year.

boys

Number of boys born.

girls

Number of girls born.

Examples

Run this code

library(ggplot2)

ggplot(present, mapping = aes(x = year, y = boys / girls)) +
  geom_line()

Run the code above in your browser using DataLab