How to show total number in same coordinate in R Programming

做~自己de王妃 提交于 2019-12-02 16:56:28

问题


(update 11/09/2017 question)

this is my codes to cluster kmodes in R:

library(klaR)
setwd("D:/kmodes")
data.to.cluster <- read.csv('kmodes.csv', header = TRUE, sep = ';')
cluster.results <- kmodes(data.to.cluster[,2:5], 3, iter.max = 10, weighted = FALSE)
  plot(data.to.cluster[,2:5],col= cluster.results$cluster)

the result is like this image : http://imgur.com/a/Y46yJ

My sample data : https://drive.google.com/file/d/0B-Z58iD3By5wUzduOXUwUDh1OVU/view

Is there a way to show total number in same coordinate? I mean when clustering if there are many value which is same as 1,1 (x,y) could we make r show the total number in 1,1?

来源:https://stackoverflow.com/questions/45910923/how-to-show-total-number-in-same-coordinate-in-r-programming

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!