Data Science, Machine Learning, Rstats, Startup.
survival curve (retention curve) by the groups. We can create such groups by adding an extra calculation like below before ‘Calculate Survival Curve’ step. mutate(started_period = ceiling(as.numeric(now() - first_date, units="weeks") / 4)) ‘now’ function from ‘lubridate’ package returns the current