Description Usage Arguments Value Author(s) References See Also
View source: R/mixpanelGetAddiction.R
Get matrix of addiction data from Mixpanel API.
1 | mixpanelGetAddiction(account, event, from, to, unit, percentages, addictionUnit, ...)
|
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. |
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.
Meinhard Ploner
https://mixpanel.com/help/reference/data-export-api#retention
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.