Description Usage Arguments Value
Calculate overall DAU to MAU ratio for a time interval.
1 2 | calculate_overall_ratio(months_beginning, max_date = Sys.Date(),
sesh_dur_data = sesh_dur_date)
|
months_beginning |
A data.table (range_beginning_date) of months to include in the calculation. |
max_date |
The largest date to use in the calculation. Any of the range_beginning_dates in months_beginning which is less than one month before max_date is dropped. |
sesh_dur_data |
A data.table (user_id, platform_action_date). |
A number representing the overall DAU/MAU ratio for the time interval (min_date, max_date). The ratio is only calculated for complete months within the time interval. So for example, (jan 3, march 20) gets rounded to (feb 1, feb 28).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.