R/my_gapminder.R

#' Gapminder Data
#'
#' Excerpt of the Gapminder data on life expectancy, GDP per capita,
#'   and population by country.
#'
#' @format The main data frame gapminder has 1704 rows and 6 variables:
#' \describe{
#' \item{country}{factor with 142 levels}
#' \item{continent}{factor with 5 levels}
#' \item{year}{ranges from 1952 to 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)}
#' }
#' The supplemental data frame gapminder_unfiltered was not filtered on \code{year}
#'   or for complete data and has 3313 rows.
#'
#' @source
#' http://www.gapminder.org/data/
"my_gapminder"
jingnanyuan/STAT302package documentation built on April 2, 2020, 9:42 p.m.