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)
Value
A data frame with two columns: country and gpg, representing the GPG values for each country.
Arguments
data
A data frame containing the required metrics for GPG computation. The data frame must include the columns: female_income and male_income.