Learn R Programming

instruments (version 0.1.0)

subscriptions: Data on customer spending, subscriptions, and churn.

Description

A simulated dataset of customer spending used to demonstrate the functionality of the instruments package.

Usage

data(subscriptions)

Arguments

Format

A data frame with 100000 rows and 5 variables

Details

  • baseline_spending. latent variable with customers' baseline spending rate.

  • incentive. binary variable indicating whether customer was offered an incentive.

  • subscription. whether customer has a subscription.

  • total_spending. total spending over a given period.

  • churn. binary variable indicating whether customer has churned.