Churn: 'Churn'

View source: R/churn.R

ChurnR Documentation

Churn

Description

Computes retention, by cohort.

Usage

Churn(data, volume = FALSE)

Arguments

data

A data.frame that has the same variables as a RevenueData object.

volume

Weights the results by volume.

Details

Where subscribers suspends their purchasing for a period, but purchases again later, the subscriber is included in the churn. Churn is show for all periods that have data in data$to.period, even if they occur in the future.

Value

A list containing the following elements:

id

The id values of subscribers to churn.

base

The number of subscribers to renew or churn in the time period.

counts

A table where the first column contains the number of people not to churn in a period, and the second contains the number that have churned. Where volume is TRUE the data is volume-weighted

.

rates

The percentage to churn (weighted if the counts are weighted)

.


Displayr/flipStartup documentation built on May 2, 2024, 6:24 p.m.