Description Usage Arguments Value Examples
View source: R/25-split_to_quintiles.R
Split observations into quintiles based on poverty probability
1 | split_to_quintiles(df, by = NULL, add = TRUE)
|
df |
A data.frame collected for the Myanmar MCCT Programme Evaluation Study containing a variable for poverty probability index |
by |
Character value specifying variable in |
add |
Logical. Should wealth quintile vector be added to |
If add
is TRUE, returns df
with an added variable
named wealthQuintile
. If add
is FALSE, returns a vector
codng of wealth quintiles corresponding to df
1 2 | ppiDF <- recode_ppi(df = hh)
split_to_quintiles(df = ppiDF)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.