plot_date_to_age_month: Depict the intervals created by function 'date_to_age_month'

Description Usage Arguments Details Examples

View source: R/plot_date_to_age.R

Description

Create a plot illustrating how function date_to_age_month works.

Usage

1

Arguments

date

Dates of events or measurements. A vector of class Date, or a vector that can be coerced to class Date using function as.Date.

dob

Dates of birth. A vector of class Date, or a vector that can be coerced to class Date using function as.Date.

Details

plot_date_to_age_month is typically used for learning or documentation, rather than for actual data analysis.

Examples

1
2
3
4
plot_date_to_age_month(date = c("2004-03-27",
                                "2004-11-09"),
                       dob = c("2003-03-21",
                               "2003-07-13"))

johnrbryant/demprep documentation built on Dec. 31, 2021, 11:58 a.m.