powered by
Creates a cohort table with month level event data with rows corresponding to cohort numbers and columns as months.
cohort_table_month(df, id_var, date)
Dataframe
ID variable
Date
Cohort table
# NOT RUN { cohort_table_month(online_cohorts, CustomerID, InvoiceDate) # }
Run the code above in your browser using DataLab