View source: R/data_transformation.R
compute_years_of_service | R Documentation |
Computes the years of service given an entry date or entry year
compute_years_of_service(
x,
entry_date_spec = NULL,
reference_year = NULL,
reference_month = NULL
)
x |
a string or number vector to be transformed |
entry_date_spec |
a string indicating the entry_date specification, can
be one of |
reference_year |
a number indicating the reference year in order to
compute the years of service from an entry date. If |
reference_month |
a number indicating the reference month in order to
compute the years of service from an entry date. If |
a numeric vector of years of service
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.