I am just starting out with segmenting a customer database using R I have for an ecommerce retail business. I seek some guidance about the best approach to proceed with for this exercise. I have searched the topics already posted here and tried them out myself like dist() and hclust(). However I am running into one issue or another and not able to overcome it since I am new to using R. Here is the brief description of my problem. I have approximately 480K records of customers who have bought so far. The data contains following columns:
- email id
- gender
- city
- total transactions so far
- average basket value
- average basket size ( no of item purchased during one transaction)
- average discount claimed per transaction
- No of days since the user first purchased
- Average duration between two purchases
- No of days since last transaction
The business goal of this exercise is to identify the most profitable segments and encourage repeat purchases in those segments using campaigns. Can I please get some guidance as to how to do this successfully without running into problems like the size of the sample or the data type of columns?
distandhclust. I imagine that you might have to adjust some of the fields if any of them are prone to large variances. And if this isn't enough info, it might be a good idea to provide a sample of your data and what goes wrong so that we can help. - blakeoft