I really don't know anything about R. But for a project, I've needed a hierarchical cluster dendrogram using ward's method. So my friend wrote me some codes and I just pasted them to the console. But, at the end, I cannot see the labels on the dendrogram, just the IDs. How can I see the labels?
This is what my friend sent to me.
View(camson1)
m.f<-camson1
m.f$Element<-NULL
m.stand<-scale(m.f[-1])
d <- dist(m.stand, method = "euclidean")
fit <- hclust(d, method="ward.D2")
plot(fit)