PIRcalc: Calculate Poverty Income Ratio

Description Usage Arguments

View source: R/PIR.r

Description

This function calculates the ratio of total family income given number of adults and children in a family. You must provide the year of the poverty thresholds you want to use, which are presently hard coded (it would be great to move them to a package data folder later).

Usage

1
PIRcalc(income, size, children, year = 2018)

Arguments

income

vector of total household income

size

vector of total family size (including children)

year

vector of number of children in the family.


halpclub/sdlabFunctions documentation built on Dec. 16, 2019, 12:34 p.m.