gender_pay_gap {genderstat}R Documentation

Gender Pay Gap (GPG)

Description

Computes the Gender Pay Gap (GPG) based on the provided dataset. The GPG is calculated as the percentage difference between male and female incomes, providing insight into income disparities between genders.

Usage

gender_pay_gap(data)

Arguments

data

A data frame containing the required metrics for GPG computation. The data frame must include the columns: female_income and male_income.

Value

A data frame with two columns: country and gpg, representing the GPG values for each country.

Examples

data(real_data_GPG) # Load example dataset
gpg_results <- gender_pay_gap(real_data_GPG)
print(gpg_results)


[Package genderstat version 0.1.5 Index]