ll_calculate_duration | R Documentation |
Does not need to be sorted upfront, makes different to minimum datetime within the group_by groupings.
ll_calculate_duration(df, units)
df |
data frame with datetime column |
units |
any time unit that lubridate understands |
df with new column duration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.