# NOT RUN {
## df is the dataframe in output from the function assign_gender
df <- data.frame(first_name = c("anna", "john", "ernest", "colin", "aileen"),
gender = c("F", "M", "M", "M", "F"),
stringsAsFactors = FALSE)
baseline <- baseline(df, gender_col = "gender")
# }
Run the code above in your browser using DataLab