Learn R Programming

cohorts (version 1.0.1)

cohort_table_day: Create a Cohort Table Using Day Level Event Data

Description

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

Usage

cohort_table_day(df, id_var, date)

Arguments

df

Dataframe

id_var

ID variable

date

Date

Value

Cohort table

Examples

Run this code
# NOT RUN {
cohort_table_day(gamelaunch, userid, eventDate)


# }

Run the code above in your browser using DataLab