ppiVNM2023 | R Documentation |
Poverty Probability Index (PPI) lookup table for Vietnam for 2023
ppiVNM2023
A data frame with 8 columns and 101 rows:
score
PPI score
percentile20
Below 20th percentile poverty line
percentile40
Below 40th percentile poverty line
percentile60
Below 60th percentile poverty line
percentile80
Below 80th percentile poverty line
# Access Vietnam PPI table
ppiVNM2023
# Given a specific PPI score (from 0 - 100), get the row of poverty
# probabilities from PPI table it corresponds to
ppiScore <- 50
ppiVNM2023[ppiVNM2023$score == ppiScore, ]
# Use subset() function to get the row of poverty probabilities corresponding
# to specific PPI score
ppiScore <- 50
subset(ppiVNM2023, 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
ppiVNM2023[ppiVNM2023$score == ppiScore, "percentile20"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.