Module 8: Clustering
Topic: K-means clustering, hierarchical clustering, choosing the number of clusters, apply family functions.
Learning Objectives
- Perform K-means clustering with
kmeans() - Build dendrograms with hierarchical clustering
- Choose K using elbow plots and silhouette scores
- Use
apply,lapply,sapplyefficiently
Slides
R Code
Data
Key Packages
# base R — no extra packages requiredAssignment
HW8: Clustering — due Module 9 Wednesday. Submit on Canvas.