| CUSTLOYALTY | R Documentation |
Customer database describing customer value (adapted from a former case study) and whether they have a loyalty card
data("CUSTLOYALTY")
A data frame with 500 observations on the following 9 variables.
Gendera factor with levels Female Male giving the customer's gender
Marrieda factor with levels Married Single giving the customer's marital status
Incomea factor with levels f0t30, f30t45, f45t60, f60t75, f75t90, f90toINF giving the approximate yearly income of the customer. The first level corresponds to 30K or less, the second level corresponds to 30K to 45K, and the last level corresponds to 90K or above
FirstPurchasea numeric vector giving the amount of the customer's first purchase amount
LoyaltyCarda factor with levels No Yes that gives whether the customer has a loyalty card for the store
WalletSharea numeric vector giving the percentage from 0 to 100 of similar products that the customer makes at this store. A value of 100 means the customer uses this store exclusively for such purchases.
CustomerLVa numeric vector giving the lifetime value of the customer and reflects the amount spent acquiring and retaining the customer along with the revenue brought in by the customer
TotTransactionsa numeric vector giving the total number of consecutive months the customer has made a transaction in the last year
LastTransactiona numeric vector giving the total amount of months since the customers last transaction
Each row corresponds to a customer of a local chain. Does having a loyalty card increase the customer's value?
Unknown
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.