R/my_gapminder.R

#' Gapminder data
#'
#' Excerpt of the \code{\link[datasets]{my_gapminder}} dataset on life expectancy,
#' GDP per capita, and population by country.
#'
#' @format a data frame with 150 observations and 3 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{gdpPercao}{GDP per capita (US$, inflation-adjusted)}
#' }
#'
#' @source
#' http://www.gapminder.org/data/
"my_gapminder"
Xiaoying-Z/Stat302Project03 documentation built on March 22, 2020, 2:09 a.m.