Learn R Programming

cohorts (version 1.0.1)

shift_left_pct: Left-shift a Cohort Table With Cohort Sizes as Percentages

Description

Left-shifts a cohort table with cohort sizes as percentages of start sizes.

Usage

shift_left_pct(cohort_table, decimals = 1)

Arguments

cohort_table

Cohort table

decimals

Integer

Value

Cohort table

Examples

Run this code
# NOT RUN {
online_cohorts %>%
cohort_table_month(CustomerID, InvoiceDate) %>%
shift_left_pct()

# }

Run the code above in your browser using DataLab