mixpanelGetAddiction: Addiction Report

Description Usage Arguments Value Author(s) References See Also

View source: R/mixpanelGetAddiction.R

Description

Get matrix of addiction data from Mixpanel API.

Usage

1
mixpanelGetAddiction(account, event, from, to, unit, percentages, addictionUnit, ...)

Arguments

account

A mixpanel account, as created by mixpanelCreateAccount.

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

mixpanelGetRetention


RMixpanel documentation built on May 1, 2019, 10:46 p.m.