Hierarchical clustering with R
问题 Consider several points: A = (1, 2.5), B = (5, 10), C = (23, 34), D = (45, 47), E = (4, 17), F = (18, 4) How can I perform hierarchical clustering on them with R? I've read this example Cluster Analysis but I'm not sure how to enter these values as points rather than just regular numbers. When I do x <- c(...) #x values y <- c(...) #y values I can plot them using plot(x,y) But how can I specify those values like in the example: mydata <- scale(mydata) Doing mydata <- scale(x,y) I get the