cohort_table_month {cohorts}R Documentation

Create a Cohort Table Using Month Level Event Data

Description

Creates a cohort table with month level event data with rows corresponding to cohort numbers and columns as months.

Usage

cohort_table_month(df, id_var, date)

Arguments

df

Dataframe

id_var

ID variable

date

Date

Value

Cohort table

Examples

cohort_table_month(online_cohorts, CustomerID, InvoiceDate)


[Package cohorts version 1.0.1 Index]