powered by
group
durSummary(df, start, end, group = NA, timeunit = "days")
"day(s)"
"week(s)"
"month(s)"
"quarter(s)"
"semiannual"
"halfyear"
"year(s)"
durPlot
durCalc
durSummary(life_exp, start = "Birth", end = "Death", group = "Country", timeunit = "years")
Run the code above in your browser using DataLab