infmortrate | R Documentation |
This entry gives the number of deaths of infants under one year old in 2012 per 1,000 live births in the same year. This rate is often used as an indicator of the level of health in a country.
infmortrate
A data frame with 222 observations on the following 2 variables.
Name of country.
Infant mortality rate per 1,000 live births.
The data is given in decreasing order of infant mortality rates. There are a few potential outliers.
CIA World Factbook, https://www.cia.gov/the-world-factbook/field/infant-mortality-rate/country-comparison.
library(ggplot2)
ggplot(infmortrate, aes(x = inf_mort_rate)) +
geom_histogram(binwidth = 10)
ggplot(infmortrate, aes(x = inf_mort_rate)) +
geom_density()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.