Description Usage Arguments Value Examples
View source: R/ggplot_intpen.R
Plot data from the World Bank's World Development Indicators on a geom_polygon representation of the countries of the world.
1 2 | ggplot_intpen(data1 = WorldMapInternetPenetration, year = 2014,
gradient.low = "white", gradient.high = "#649AF1")
|
data1 |
use the default database, WorldMapInternetPenetration, for Internet penetration data |
year |
the year to plot |
gradient.low |
the lowest color value for country and legend fill |
gradient.high |
the highest color value for country and legend fill |
a ggplot object
1 | ggplot_intpen(year = 2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.