income_quantiles.RdThis function allows you to calculate the Household Income Quantiles
income_quantiles( data = ech::toy_ech_2018, quantile = 5, weights = "pesoano", income = "y_pc_d" )
| data | data.frame |
|---|---|
| quantile | Variable name of quintil (5) or decil (10). Default: 5 |
| weights | Variable name of ponderation variable. Default: "pesoano" |
| income | Variable name of income constant price. Default: "y_pc_d" |
data.frame
Disclaimer: This script is not an official INE product. Aviso: El script no es un producto oficial de INE.
#> #> #> #> #> #>toy_ech_2018 <- income_quantiles(data = toy_ech_2018)#> #># }