I have attached a R Markdown file (PDF version) below. You can also view the project on RPubs.

Customer-segmentation