From the course: R for Data Science: Lunch Break Lessons

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Introduction to clustering

Introduction to clustering

- [Instructor] Clustering is a tool to form relationships between the objects in a dataset. And R provides a wide, wide range of clustering tools. Now, most people know about k-means clustering and that's present in R. People also know about hierarchical clustering and hierarchical clustering is a way of creating a dendrogram. But there's many, many, many different ways to create clusters in R. And what I'd like to do over the next couple of weeks is go over partitioning methods, hierarchical methods, some dissimilarity tools, and some graphics and plots. All of these are available as part of the base R package. In the example files, I've provided you with two files. One, shown on the left, is an R markdown document, and that provides all the raw code for the quick reference that I'm providing in the example files. On the right-hand side is an HTML representation that came from that R markdown document. And throughout the…

Contents