gdp {ssym}R Documentation

Gross Domestic Product (per capita)

Description

This dataset corresponds to the per capita gross domestic product (current US$) of 190 countries during 2010.

Usage

data(gdp)

Format

A data frame with 190 observations on the following 2 variables.

Country

Country.

gdp2010

The per capita gross domestic product (current US$).

References

World Bank's DataBank website (http://databank.worldbank.org/data/).

Examples

data("gdp", package="ssym")
par(mfrow=c(1,2))
hist(gdp$gdp2010, xlim=range(gdp$gdp2010), ylim=c(0,0.00015), prob=TRUE, breaks=55,
     col="light gray",border="dark gray", xlab="GDP per capita 2010", main="Histogram")
plot(ecdf(gdp$gdp2010), xlim=range(gdp$gdp2010), ylim=c(0,1), verticals=TRUE,
     do.points=FALSE, col="dark gray", xlab="GDP per capita 2010",
	 main="Empirical Cumulative Distribution Function")

[Package ssym version 1.5.8 Index]