Description Usage Arguments Value Examples
Simulation of subscribers
1 | subscribers_by_day(cohorts, dist = c("weibull", "lnorm"), ...)
|
cohorts |
an integer vector of the count of subscriptions sold per day, assumed continuous from an origin day 1. |
dist |
the distribution characterizing churn (weibull and lnorm are implemented) |
... |
parameters that complete the characterization of churn, like shape = 0.8 |
tibble::tibble
1 2 | # rep(1e2, 10) is 100 subscriptions simulated for for ten days.
subscribers_by_day(cohorts = rep(1e2, 100), dist = "weibull", 0.8, 300)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.