income_quantiles.Rd
This 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.frame
Variable name of quintil (5) or decil (10). Default: 5
Variable name of ponderation variable. Default: "pesoano"
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.
Other income:
basket_goods()
,
deflate()
,
income_constant_prices()
,
labor_income_per_capita()
,
labor_income_per_hour()
,
organize_ht11()
# \donttest{
toy_ech_2018 <- income_constant_prices(data = ech::toy_ech_2018)
#> Variables have been created:
#> y_pc (income per capita current prices / ingreso per capita a precios corrientes);
#> y_pc_d (income per capita deflated / ingreso per capita deflactado);
#> rv_d (rental value deflated / valor locativo deflactado);
#> y_wrv_d (income without rental value deflated / ingreso sin valor locativo deflactado) &
#> y_wrv_pc_d (income without rental value per capita deflated / ingreso sin valor locativo per capita deflactado)
toy_ech_2018 <- income_quantiles(data = toy_ech_2018)
#> A variable has been created:
#> quintil (quintil de ingresos)
# }