Description Usage Arguments Value
single_cohort_data
creates a data frame which can be used to apply the sBG model for a single cohort.
1 | single_cohort_data(df_data)
|
df_data |
a data frame that contains per cohort and period the survived customers (must have columns 'cohort', 'period' and 'survived_customers'). |
a data frame that contains per cohort and period the survived and lost customers (excluding first period).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.