plot_date_to_triangle_quarter: Depict the Lexis triangles created by function...

Description Usage Arguments Details Examples

View source: R/plot_date_to_triangle.R

Description

Create plot illustrating how function date_to_triangle_quarter works.

Usage

1

Arguments

date

Dates of events.

dob

Dates of birth.

show_months

Whether to include vertical lines showing boundaries between months. Defaults to FALSE.

Details

plot_date_to_triangle_quarter is typically used for instruction or documentation, rather than for actual data analysis.

Examples

1
2
3
4
plot_date_to_triangle_quarter(date = c("2024-03-27",
                                       "2022-11-09"),
                              dob = c("2020-05-01",
                                      "2021-06-22"))

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