mixpanelGetAddiction {RMixpanel} | R Documentation |
Addiction Report
Description
Get matrix of addiction data from Mixpanel API.
Usage
mixpanelGetAddiction(account, event, from, to, unit, percentages, addictionUnit, ...)
Arguments
account |
A mixpanel account, as created by |
event |
Event name. If empty, all events are returned. |
from |
Start date in either format <"yyyy-mm-dd"> or <yyyymmdd>. Inclusive. |
to |
End date in either format <"yyyy-mm-dd"> or <yyyymmdd>. Inclusive. |
unit |
Defaults to 'day'. |
percentages |
Output as counts or percentages? |
addictionUnit |
Sub time unit for addiction calculation. |
... |
Additional arguments to Mixpanel API. |
Value
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.
Author(s)
Meinhard Ploner
References
https://mixpanel.com/help/reference/data-export-api#retention
See Also
[Package RMixpanel version 0.7-1 Index]