income_quantiles: This function allows you to calculate the Household Income...

View source: R/income.R

income_quantilesR Documentation

This function allows you to calculate the Household Income Quantiles

Description

This function allows you to calculate the Household Income Quantiles

Usage

income_quantiles(
  data = ech::toy_ech_2018,
  quantile = 5,
  weights = "pesoano",
  income = "y_pc_d"
)

Arguments

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"

Details

Disclaimer: This script is not an official INE product. Aviso: El script no es un producto oficial de INE.

Value

data.frame

See Also

Other income: basket_goods(), deflate(), income_constant_prices(), labor_income_per_capita(), labor_income_per_hour(), organize_ht11()

Examples


toy_ech_2018 <- income_constant_prices(data = ech::toy_ech_2018)
toy_ech_2018 <- income_quantiles(data = toy_ech_2018)


calcita/ech documentation built on March 2, 2024, 7:54 a.m.