layer_cohort: Returns ggproto objects in a list and that list plays nicely...

View source: R/viz.R

layer_cohortR Documentation

Returns ggproto objects in a list and that list plays nicely with +. data %>% ggplot(aes(blah blah)) + geom_something_else() + layer_cohort(data = other_data, tweak1, tweak2)

Description

Returns ggproto objects in a list and that list plays nicely with +. data %>% ggplot(aes(blah blah)) + geom_something_else() + layer_cohort(data = other_data, tweak1, tweak2)

Usage

layer_cohort(
  data,
  time = "MONTHS_SUBSCRIBED",
  metric = "IND_ACTIVE",
  group = "COHORT",
  ...
)

Arguments

...

Pirshtuk/fi documentation built on March 22, 2022, 6:38 p.m.