Description Usage Arguments Value Examples
Calculate poverty indicators based on the Poverty Probability Index (PPI).
1 | get_poverty_vars(surveyData, index, ccode, ppiTable)
|
surveyData |
A data frame containing informatiom to be used for calculating the Poverty Probability Index (PPi) |
index |
A numeric vector of length equal to |
ccode |
Three letter ISO code for a country |
ppiTable |
Name of country PPI table to use from the ppitables package |
A data frame containing calculated PPI scores, corresponding poverty probabilities and wealth quintile
1 2 3 4 5 | ppiMatrixBGD <- washdata::ppiMatrixBGD
povertyDF <- get_poverty_vars(surveyData = washdata::surveyDataBGD,
index = ppi,
ccode = "BGD",
ppiTable = ppitables::ppiBGD2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.