div_plot_paygap_distribution: Produce a histogram and normal distribution

Description Usage Arguments Value Examples

View source: R/div_plot_paygap_distribution.R

Description

Plots a histogram, a normal distribution with the same standard deviation and mean as well as one with a mean centred around 1

Usage

1
div_plot_paygap_distribution(x, label = "Gender", mu_unbiased = 1)

Arguments

x

numeric vector, column of paygap observations

label

character, prefix for the title

mu_unbiased

numeric, the mean of the unbiased distribution (for paygaps this should be 1)

Value

ggplot2 object

Examples

1
2
3

div documentation built on May 6, 2021, 9:06 a.m.