Learn R Programming

ppitables (version 0.6.0)

ppiPNG2023: Poverty Probability Index (PPI) lookup table for Papua New Guinea 2023

Description

Poverty Probability Index (PPI) lookup table for Papua New Guinea 2023

Usage

ppiPNG2023

Arguments

Format

A data frame with 9 columns and 101 rows:

score

PPI score

percentile20_wi

Below 20th percentile wealth index

percentile40_wi

Below 40th percentile wealth index

percentile60_wi

Below 60th percentile wealth index

percentile80_wi

Below 80th percentile wealth index

percentile20_wi_ur

Below 20th percentile wealth index urban/rural

percentile40_wi_ur

Below 40th percentile wealth index urban/rural

percentile60_wi_ur

Below 60th percentile wealth index urban/rural

percentile80_wi_ur

Below 80th percentile wealth index urban/rural

Examples

Run this code
  # Access Papua New Guinea PPI table
  ppiPNG2023

  # Given a specific PPI score (from 0 - 100), get the row of poverty
  # probabilities from PPI table it corresponds to
  ppiScore <- 50
  ppiPNG2023[ppiPNG2023$score == ppiScore, ]

  # Use subset() function to get the row of poverty probabilities corresponding
  # to specific PPI score
  ppiScore <- 50
  subset(ppiPNG2023, score == ppiScore)

  # Given a specific PPI score (from 0 - 100), get a poverty probability
  # based on a specific poverty definition. In this example, the USAID
  # extreme poverty definition
  ppiScore <- 50
  ppiPNG2023[ppiPNG2023$score == ppiScore, "percentile20_wi"]

Run the code above in your browser using DataLab