worldbank | R Documentation |
Loading this file makes the dataframes co2.emissions
, gdp
, life.expectancy
and population
available. These contain the CO2 emissions, gross domestic product, life expectancy and population data for each country of the world (rows indexed by rownames) for the years 1960-2007.
These data are provided by the World Bank through the database at
http://data.worldbank.org/data-catalog/world-development-indicators
The data are also used use in the Google Public Data Explorer
http://www.google.com/publicdata/directory
and by the Gapminder project
http://www.gapminder.org
)
The data are used in the rp.bubbleplot example script.
rpanel: Simple interactive controls for R functions using the tcltk package. Journal of Statistical Software, 17, issue 9.
## Not run: rp.bubbleplot(log(gdp), log(co2.emissions), 1960:2007, size = population, col = life.expectancy, interpolate = TRUE, hscale = 1.5, vscale = 1.5) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.