R/my_gapminder.R

#' Gapminder Data
#'
#' The Gapminder dataset taken from the \code{gapminder} package on life
#' expectancy, GDP per capita, and population by country.
#'
#' @format The data frame has 1704 rows and 6 variables:
#' \describe{
#' \item{country}{factor with 142 levels}
#' \item{continent}{factor with 5 levels}
#' \item{year}{ranges from 1952 ot 2007 in increments of 5 years}
#' \item{lifeExp}{life expectancy at birth, in years}
#' \item{pop}{population}
#' \item{gdpPercap}{GDP per capita (US$, inflation-adjusted)}
#' }
#'
#' @source
#' \url{http://www.gapminder.org/data/}
"my_gapminder"
hchang23/firstpackage documentation built on March 18, 2020, 7:37 a.m.