The goal of GenderInfer
is to analysed data for gender
differences in publishing. It assigns the gender based on the first
name. It should only be used when self-reported gender is unavailable.
This package let possible to find if there are significant differences
between male and female from a specified baselines.
You can install the released version of GenderInfer from CRAN with:
install.packages("GenderInfer")
It is also possible to install the package directly from bitbucket
::install_bitbucket("rscapplications/genderinfer") devtools
The package use the following packages as dependencies:
binom ggplot2
This is a basic example which shows you how to assign gender to a data frame containing first names:
library(GenderInfer)
## assign gender
<- assign_gender(data_df = authors, first_name_col = first_name)
authors_df head(authors_df)