Description Usage Arguments Details Value Examples
Takes a vector of generation names and gets the shortened versions of them. Specifically, it shortens "Generation X/Y/Z" to just "Gen X/Y/Z" and in all other cases it just removes the word "Generation" entirely.
1 | short_generation_names(gens)
|
gens |
a vector |
For internal use only. Mostly used within add_years()
so that
generations()
words properly when full_names
and years
are both specified.
a vector
1 | short_generation_names(c("Millennial Generation", "Generation X"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.