| ppiLKA2016 | R Documentation |
Poverty Probability Index (PPI) lookup table for Sri Lanka
ppiLKA2016
A data frame with 16 columns and 101 rows:
scorePPI score
nl100National poverty line (100%)
nl150National poverty line (150%)
nl200National poverty line (200%)
half100Poorest half below 100% national
ppp125Below $1.25 per day purchasing power parity (2005)
ppp200Below $2.00 per day purchasing power parity (2005)
ppp250Below $2.50 per day purchasing power parity (2005)
ppp500Below $5.00 per day purchasing power parity (2005)
ppp190Below $1.90 per day purchasing power parity (2011)
ppp310Below $3.10 per day purchasing power parity (2011)
percentile20Below 20th percentile poverty line
percentile40Below 40th percentile poverty line
percentile50Below 50th percentile poverty line
percentile60Below 60th percentile poverty line
percentile80Below 80th percentile poverty line
# Access Sri Lanka PPI table
ppiLKA2016
# Given a specific PPI score (from 0 - 100), get the row of poverty
# probabilities from PPI table it corresponds to
ppiScore <- 50
ppiLKA2016[ppiLKA2016$score == ppiScore, ]
# Use subset() function to get the row of poverty probabilities corresponding
# to specific PPI score
ppiScore <- 50
subset(ppiLKA2016, 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
ppiLKA2016[ppiLKA2016$score == ppiScore, "nl100"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.