Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library(cluster) # clustering algorithms
- library(factoextra) # clustering algorithms & visualization
- library(readxl)
- u <- read_excel("C:/v.xlsx")
- cvbb<-u[,4:43]
- cl<-hclust(dist(scale(cvbb)),"centroid" )
- plot(cl, hang = -1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement