ppiMDG2015 | R Documentation |
Poverty Probability Index (PPI) lookup table for Madagascar
ppiMDG2015
A data frame with 9 columns and 101 rows:
score
PPI score
nl100
Food poverty line
nl150
National poverty line (100%)
nl200
National poverty line (150%)
median
National poverty line (200%)
ppp125
Poorest half below 100% national
ppp200
Below $1.25 per day purchasing power parity (2005)
ppp250
Below $2.00 per day purchasing power parity (2005)
ppp500
Below $2.50 per day purchasing power parity (2005)
# Access Madagascar PPI table
ppiMDG2015
# Given a specific PPI score (from 0 - 100), get the row of poverty
# probabilities from PPI table it corresponds to
ppiScore <- 50
ppiMDG2015[ppiMDG2015$score == ppiScore, ]
# Use subset() function to get the row of poverty probabilities corresponding
# to specific PPI score
ppiScore <- 50
subset(ppiMDG2015, score == ppiScore)
# Given a specific PPI score (from 0 - 100), get a poverty probability
# based on a specific poverty definition. In this example, the national
# poverty line definition
ppiScore <- 50
ppiMDG2015[ppiMDG2015$score == ppiScore, "nl100"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.