I'm trying to follow this Learn - K-means clustering with tidy data principles.
And got a bit confused in:
kclust =, it needs to use ~ and .x? How's this exactly applied? Meanwhile, bellow
augmented =, it only applies the column name
points in map(kclust, augment, points)?