get_ppi: get_ppi

Description Usage Arguments Value Examples

View source: R/get_ppi.R

Description

Get a household's poverty probability based on their Poverty Probability Index (PPI) score. This function uses PPI lookup tables for 60 countries available via the ppitables package.

Usage

1
get_ppi(index, ppiTable)

Arguments

index

The household's PPI score

ppiTable

Name of country PPI table to use from the ppitables package

Value

A vector of household's poverty probabilities based on various poverty metrics

Examples

1
2
3
4
# Apply function on a household in Bangladesh (BGD) with a PPI score of 65
#\dontrun{
get_ppi(index = 65, ppiTable = ppitables::ppiBGD2013)
#}

validmeasures/ppicalc documentation built on March 19, 2018, 3:05 a.m.