R/gapminder.R

#' Gapminder Data
#' 
#' Health and income outcomes for 184 countries from 1960 to 2016. Also includes two character vectors, \code{oecd} 
#' and \code{opec}, with the names of OECD and OPEC countries from 2016.
#'
#' \itemize{
#'  \item country.  
#'  \item year.
#'  \item infant_mortality. Infant deaths per 1000.
#'  \item life_expectancy. Life expectancy in years.
#'  \item fertility. Average number of children per woman. 
#'  \item population. Country population.
#'  \item gpd. GDP according to World Bankdev.
#'  \item continent. 
#'  \item region. Geographical region.
#' }
#'
#'
#' @docType data
#'
#' @usage gapminder
#'
#' @format An object of class \code{"data.frame"}. 
#'
#' @keywords datasets
#' 
#' @aliases oecd opec
#'
#' @examples
#' head(gapminder)
#' print(oecd)
#' print(opec)
"gapminder"

Try the dslabs package in your browser

Any scripts or data that you put into this service are public.

dslabs documentation built on May 29, 2024, 6:29 a.m.