I am trying to plot the K-means cluster. The below is the code i use.
library(cluster) library(fpc) data(iris) dat <- iris[, -5] # without known classificati
for me it worked, when you rename the row names in a way like row.names(dat) <- paste("flower",row.names(dat)). This means if your row names are in the way you want them to be, they'll be properly displayed.
row.names(dat) <- paste("flower",row.names(dat))
Hope that'll help!