Description Usage Arguments Details Examples
View source: R/plot_date_to_age.R
Create a plot illustrating how function
date_to_age_year
works.
1 | plot_date_to_age_year(date, dob, show_months = FALSE)
|
date |
Dates of events or measurements.
A vector of class |
dob |
Dates of birth.
A vector of class |
show_months |
Whether to include vertical
lines showing boundaries between months.
Defaults to |
plot_date_to_age_year
is typically used for
learning or documentation, rather than for
actual data analysis.
1 2 3 4 5 6 7 8 9 | plot_date_to_age_year(date = c("2002-11-09",
"2004-04-27"),
dob = c("2000-07-13",
"2001-03-21"))
plot_date_to_age_year(date = c("2002-11-09",
"2004-04-27"),
dob = c("2000-07-13",
"2001-03-21"),
show_months = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.