Get matrix of addiction data from Mixpanel API.
mixpanelGetAddiction(account, event, from, to, unit, percentages, addictionUnit, ...)
A mixpanel account, as created by mixpanelCreateAccount
.
Event name. If empty, all events are returned.
Start date in either format <"yyyy-mm-dd"> or <yyyymmdd>. Inclusive.
End date in either format <"yyyy-mm-dd"> or <yyyymmdd>. Inclusive.
Defaults to 'day'.
Output as counts or percentages?
Sub time unit for addiction calculation.
Additional arguments to Mixpanel API.
Matrix consisting of one row for each cohort. The first column holds the cohort sizes, the following columns the number of profiles having tracked events within the specified time interval.
https://mixpanel.com/help/reference/data-export-api#retention