Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. library(cluster) # clustering algorithms
  2. library(factoextra) # clustering algorithms & visualization
  3. library(readxl)
  4. u <- read_excel("C:/v.xlsx")
  5. cvbb<-u[,4:43]
  6. cl<-hclust(dist(scale(cvbb)),"centroid" )
  7. plot(cl, hang = -1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement