Description Usage Arguments Value See Also Examples
This function predicts the gender of a first name.
1 2 | gender_unique(first_name, year_min = 1900, year_max = 2017,
freq = FALSE)
|
first_name |
first name as a character string. |
year_min |
starting year of the period over which the prediction is computed. |
year_max |
ending year of the period over which the prediction is computed. |
freq |
return the probability of the first name being male |
The predicted gender based on the proportions of males and females with the input first name. Possible values are either "male" or "female". NA is returned when the input first name is unknown in the database. If freq is set to TRUE, the function returns the probability of the first name being male.
1 2 | gender_unique("Baptiste")
gender_unique("Henriette")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.