Learn R Programming

Lock5withR (version 1.2.2)

SampCountries: AllCountries

Description

Data on a sample of countries of the world

Arguments

Format

A data frame with 50 observations on the following 13 variables.
  • Country Name of the country
  • LandArea Size in sq. kilometers
  • Population Population in millions
  • Energy Energy usage (kilotons of oil)
  • Rural Percentage of population living in rural areas
  • Military Percentage of government expenditures directed toward the military
  • Health Percentage of government expenditures directed towards healthcare
  • HIV Percentage of the population with HIV
  • Internet Percentage of the population with access to the internet
  • kwhPerCap An ordered factor of categories for kilowatt hours per capita, under 2500, 2500 to 5000, or over 5000
  • Developed A numerical code for kwhPerCap
  • BirthRate Births per 1000 people
  • ElderlyPop Percentage of the population at least 65 year old
  • LifeExpectancy Average life expectancy (in years)

Source

Data collected from the World Bank website, worldbank.org.

Details

A subset of data from AllCountries for a random sample of 50 countries. Data for 2008 to avoid many missing values in more recent years.

Examples

Run this code

data(SampCountries)

Run the code above in your browser using DataLab