Data Science, Machine Learning, Rstats, Startup.
the service. It can be something like below. mutate(active_on_service = ceiling(as.numeric(last_date - first_date, units="weeks")) Note that I’m using ‘ceiling’ to round up the numbers to integers. Anyway, now that we have these two columns ready, we are ready to start Survival Analysis. Let’s