get_estimation_gpg | R Documentation |
This function allows you to estimate the Gender Pay Wage Gap (GPG)
get_estimation_gpg(
data = ech::toy_ech_2018,
variable = "total_income_per_hour",
e26 = "e26",
by = NULL,
ids = NULL,
estrato = NULL,
pesoano = "pesoano",
stat = "media"
)
data |
data.frame |
variable |
Variable name of total income per hour |
e26 |
Variable name of sex |
by |
data frame column |
ids |
Variable name of cluster |
estrato |
Variable name of strata |
pesoano |
Variable name of weights |
stat |
Media or Median |
table
Other estimation:
get_estimation_gini()
,
get_estimation_mean()
,
get_estimation_median()
,
get_estimation_qsr()
,
get_estimation_ratio()
,
get_estimation_total()
,
set_design()
toy_ech_2018 <- labor_income_per_hour(data = ech::toy_ech_2018, base_month = 6, base_year = 2018)
get_estimation_gpg(data = toy_ech_2018, variable = "total_income_per_hour", e26 = "e26")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.