augment_hclust: Augment Data with Hierarchical Cluster Assignments
Description
Add cluster assignments to original data
Usage
augment_hclust(hclust_obj, data, k = NULL, h = NULL)
Value
Original data with cluster column added
Arguments
- hclust_obj
A tidy_hclust object
- data
Original data frame
- k
Number of clusters (optional)
- h
Height at which to cut (optional)