cohort_table_pct {cohorts} | R Documentation |
Convert Values of a Cohort Table to Percentages
Description
Converts values of a cohort table to percentages of initial cohort sizes.
Usage
cohort_table_pct(cohort_table, decimals = 1)
Arguments
cohort_table |
Cohort table |
decimals |
Integer |
Value
Cohort table
Examples
online_cohorts %>%
cohort_table_month(CustomerID, InvoiceDate) %>%
cohort_table_pct(decimals = 1)
[Package cohorts version 1.0.1 Index]