Data Science, Machine Learning, Rstats, Startup.
mutate(is_churned = last_date < (now() - weeks(4))) Lifetime — How long they have been using? Another information we need is how long the customers are on this service. This can be calculated by subtracting the date the users used the service for the first time from the most recent date they used