viz_cohort | R Documentation |
basic visualization function that wraps ggplot2 code but allows users to input their preferred x-axis, y-axis and grouping variables to draw cohort curves.
viz_cohort( data, metric = "IND_ACTIVE", time = "MONTHS_SUBSCRIBED", group = "COHORT", ... )
group |
#viz_cohort("my_org_data") #viz_cohort("my_org_data", color = COHORT, linetype = COHORT)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.