This project contains code for customer segmentation with K means clustering algorithm and segment analysis. A blog describing the project can be found here. In short: K Means clustering is used to build the segmentation model on ecommerce data set. The model is built in R. The model is based on frequency, recency, and monetary segmentation.