Description Usage Arguments Value Examples
This function predicts the years of birth of individuals from a vector of first names.
1 | year(firstname, year_min = 1946, year_max = 2017)
|
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. |
The predicted years of birth based on the proportions of individuals with the input first names born each year. The function returns the modes of the distributions, i.e. the years with the highest numbers of individuals born by the input firstnames. NAs are returned when the input first names are unknown in the database.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.