Description Usage Arguments Value See Also Examples
This function predicts the genders of a vector of first names.
1 |
firstname |
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 genders based on the proportions of males and females with the input first names. Possible values are either "male" or "female". NAs are returned when the input first names are unknown in the database. If freq is set to TRUE, the function returns the probabilities of the first names being male.
gender_unique
, is_male
, is_female
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.