Package: div 0.3.1
div: Report on Diversity and Inclusion in a Corporate Setting
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) <http://www.de-brouwer.com/assets/div/div-white-paper.pdf>. Book (chapter 36): 'Philippe J.S. De Brouwer' (2020, ISBN:978-1-119-63272-6) and 'Philippe J.S. De Brouwer' (2020) <doi:10.1002/9781119632757>.
Authors:
div_0.3.1.tar.gz
div_0.3.1.zip(r-4.5)div_0.3.1.zip(r-4.4)div_0.3.1.zip(r-4.3)
div_0.3.1.tgz(r-4.4-any)div_0.3.1.tgz(r-4.3-any)
div_0.3.1.tar.gz(r-4.5-noble)div_0.3.1.tar.gz(r-4.4-noble)
div_0.3.1.tgz(r-4.4-emscripten)div_0.3.1.tgz(r-4.3-emscripten)
div.pdf |div.html✨
div/json (API)
# Install 'div' in R: |
install.packages('div', repos = c('https://drphilippedb.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/drphilippedb/div/issues
Last updated 4 years agofrom:f82f89b636. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 31 2024 |
R-4.5-win | NOTE | Oct 31 2024 |
R-4.5-linux | NOTE | Oct 31 2024 |
R-4.4-win | NOTE | Oct 31 2024 |
R-4.4-mac | NOTE | Oct 31 2024 |
R-4.3-win | NOTE | Oct 31 2024 |
R-4.3-mac | NOTE | Oct 31 2024 |
Exports:div_add_median_labeldiv_ci_mediandiv_conf_colourdiv_fake_teamdiv_gauge_plotdiv_parse_paygapdiv_paygapdiv_plot_paygap_distributiondiv_round_paygapdiversity
Dependencies:askpassbackportsbase64encbitbit64blobbroombslibcachemcallrcellrangerclicliprcodetoolscolorspaceconflictedcpp11crayoncrosstalkcurldata.tableDBIdbplyrdigestdplyrdtplyrevaluatefansifarverfastmapfontawesomeforcatsfsgarglegenericsggplot2gluegoogledrivegooglesheets4gridExtragtablehavenhighrhmshtmltoolshtmlwidgetshttridsisobandjquerylibjsonlitekableExtraknitrlabelinglaterlatticelazyevallifecyclelobstrlubridatemagrittrMASSMatrixmemoisemgcvmimemodelrmunsellnlmeopensslpillarpkgconfigplotlyprettyunitsprocessxprogresspromisespryrpspurrrR6raggrappdirsRColorBrewerRcppreadrreadxlrematchrematch2reprexrlangrmarkdownrpartrstudioapirvestsassscalesselectrstringistringrsvglitesyssystemfontstextshapingtibbletidyrtidyselecttidyversetimechangetinytextzdbutf8uuidvctrsviridisLitevroomwithrxfunxml2yaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Adds a column with new labels (H)igh and (L) for a given colName (within a given grade and jobID) | div_add_median_label |
Function to calculate the confidence interval for the median | div_ci_median |
return a colour code given a number of stars for the confidence level of bias | div_conf_colour |
Generate randomly team-data | div_fake_team |
Uses ggplot2 to produce a gauge plot in RAG colour | div_gauge_plot |
Prepare the paygap matrix to be published in LaTeX | div_parse_paygap |
Function to calculate the paygap as a ratio. | div_paygap |
Produce a histogram and normal distribution | div_plot_paygap_distribution |
Rounds all numbers in the paygap data-frame | div_round_paygap |
Calculate the diversity index | diversity |
print the paygap object in the terminal | print.paygap |
Title | summary.paygap |