Skip to content
Datanovia
Machine Learning

Practical Guide to Cluster Analysis in R

Unsupervised Machine Learning

Alboukadel Kassambara

A book-length lesson series

Practical Guide to Cluster Analysis in R

Unsupervised Machine Learning

Find the groups hiding in your data — k-means, hierarchical, and beyond, visualized and validated.

Read it free as lessons

17 chaptersruns in your browser

The runtime is the judge

A real figure from the book. Run it yourself.

This is a genuine, reproducible figure from a chapter — not a mockup. Open the lesson and run every line in your browser.

A cluster plot: two coloured point clouds, each enclosed by a concentration ellipse.
Open the lesson and run it

Where to start

Jump straight into a few key chapters, or read the whole book below.

The book is the free curriculum

There's no paywall on understanding. Every chapter is a free, runnable lesson — read the whole book online. The Pro PDF is the same content, typeset to keep.

  1. 01Distance measures
  2. 02K-Means Clustering
  3. 03K-Medoids (PAM)
  4. 04CLARA (Large Data)
  5. 05Hierarchical clustering
  6. 06Comparing dendrograms
  7. 07Visualizing dendrograms
  8. 08Heatmap
  9. 09Clustering Tendency
  10. 10Optimal Clusters
  11. 11Cluster Validation
  12. 12Best Algorithm
  13. 13P-value (pvclust)
  14. 14Hierarchical K-Means
  15. 15Fuzzy Clustering
  16. 16Model-Based Clustering
  17. 17DBSCAN

Every chapter is free to read and run online.

Free online, or keep it forever

These are different goods — not a paywall on the same thing.

Free online

Interactive, always current, every cell runnable. The full book, in your browser, forever free.

  • The complete book, chapter by chapter
  • Every example runnable in your browser
  • Always the latest edition
  • No sign-up, no paywall

With Pro

  • A typeset offline PDF and ePub
  • Prova on your own code and data
  • Verifiable certificates
  • Saved work and higher compute
  • All seven books, living and updated

Learn it free online. Keep it forever as a book.

You already run his code

Alboukadel Kassambara wrote the R packages a generation of data scientists reach for — ggpubr, factoextra, survminer, rstatix, ggcorrplot. More than 50 million installs. This book is the source.

50,000,000

combined package installs

Meet the author

From readers of the published editions.

Why Pro is worth it

The €199/year isn't for a PDF of free content. It's for Prova running on your own data, the entire continuously-updated curriculum, verifiable certificates, saved work, higher compute — and every book, living.

Less than the big subscription platforms charge for a fixed course library — and Pro runs on your own data.

Frequently asked questions

Is the book really free to read?
Yes. Every chapter is a free, runnable lesson online — the complete book, no paywall on understanding. Pro adds the offline typeset PDF/ePub, Prova on your own data, certificates, and more.
Can I buy just this one book?
The offline PDF is a Pro perk, not sold on its own. If you want a single-book, one-time purchase, the ebook is available on Kindle. Everything else lives in Pro.
What formats does the Pro book come in?
A typeset PDF at launch, with ePub as a fast-follow — both watermarked to your account and auto-updated from the same source as the free lessons.
Do the books keep getting updated?
Yes. Each book is generated from the living lessons, so your offline copy tracks the latest edition — no frozen, out-of-date PDF.
I bought this book before — what happens to my purchase?
Your past purchase and Kindle copy stay yours. Pro is a new, recurring option that adds the living online book plus the whole platform.

Start reading — free.

Open the book as living lessons and run every example. Keep it offline, on your data, with Pro.

Read it free as lessons