R/my_gapminder.R

#' Gapminder data
#'
#' The famous \code{\link[gapminder]{gapminder}} dataset taken from the
#' \code{gapminder} package to practice adding datasets to my R package
#'
#' @format the 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)}
#' }
#'
#' @source
#' \url{http://www.gapminder.org/data/}
#'
"my_gapminder"
celestezeng33/STAT302package documentation built on March 22, 2020, 2:09 a.m.