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).
1 |
income |
vector of total household income |
size |
vector of total family size (including children) |
year |
vector of number of children in the family. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.