rename_generation: Rename a generation

Description Usage Arguments Details Examples

View source: R/setters.R

Description

Not all people refer to generations the same way. The names I have chosen come from Howe & Strauss' book, though I have taken some liberty with the most recent four generations. This family of functions lets you rename a generation to fit your personal tastes.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17

Arguments

old_name

a string, exactly matching a generation's name

new_name

a string, representing what you want that generation to be called

Details

The main function is rename_generation. All others are shortcuts for some of the more common changes I expect people to make.

The changes here modify the underlying data and will be reflected in any subsequent reference to the generational data. You can view what the current dataset is with show_generations. Any change you make can be reset using reset_generations.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12

JoeyStanley/generations documentation built on Dec. 31, 2020, 2:03 p.m.