Learn R Programming

div (version 0.3.1)

Report on Diversity and Inclusion in a Corporate Setting

Description

Facilitate the analysis of teams in a corporate setting: assess the diversity per grade and job, present the results, search for bias (in hiring and/or promoting processes). It also provides methods to simulate the effect of bias, random team-data, etc. White paper: 'Philippe J.S. De Brouwer' (2021) . Book (chapter 36): 'Philippe J.S. De Brouwer' (2020, ISBN:978-1-119-63272-6) and 'Philippe J.S. De Brouwer' (2020) .

Copy Link

Version

Install

install.packages('div')

Monthly Downloads

213

Version

0.3.1

License

AGPL (>= 3)

Maintainer

Philippe J.S. De Brouwer

Last Published

May 6th, 2021

Functions in div (0.3.1)

print.paygap

print the paygap object in the terminal
div_ci_median

Function to calculate the confidence interval for the median
summary.paygap

Title
div_conf_colour

return a colour code given a number of stars for the confidence level of bias
div_round_paygap

Rounds all numbers in the paygap data-frame
div_fake_team

Generate randomly team-data
diversity

Calculate the diversity index
div_gauge_plot

Uses ggplot2 to produce a gauge plot in RAG colour
div_plot_paygap_distribution

Produce a histogram and normal distribution
div_paygap

Function to calculate the paygap as a ratio.
div_parse_paygap

Prepare the paygap matrix to be published in LaTeX
div_add_median_label

Adds a column with new labels (H)igh and (L) for a given colName (within a given grade and jobID)