Different clustering algorithms in R