Description Usage Arguments Details Author(s) See Also Examples
Returns summary statistics for date duration data (for each group if group
is provided)
1 |
df |
Data frame containing start and end dates. |
start |
Column in df for start dates. |
end |
Column in df for end dates. |
group |
Column in df for groups. Default NA. |
timeunit |
Unit of time to be used in plots. |
1 year = 365.25 days, 1 month = 30.42 days, 1 year = 52.14 weeks
Dahee Lee
1 | durSummary(life_exp, start = "Birth", end = "Death", group = "Country", timeunit = "years")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.