subscribers_by_day: Simulation of subscribers

Description Usage Arguments Value Examples

Description

Simulation of subscribers

Usage

1
subscribers_by_day(cohorts, dist = c("weibull", "lnorm"), ...)

Arguments

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

Value

tibble::tibble

Examples

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)

zapier/saasr documentation built on May 14, 2019, 8:57 p.m.