Displaying 1 result from an estimated 1 matches for "cluster5".
Did you mean:
cluster
2008 Jul 07
2
Colour clusters in a 2d plot
R experts,
I have three columns. c1 and c2 are numeric variables whereas c3 are the
clusters classes (nominal variable, 10 different: cluster1, cluster2,
cluster3, cluster4, cluster5 ....). I'd like to plot c1 against c2 (easy!)
in a 2D plot and put different color depending to the cluster class
automatically regardless the number of clusters.
Could anyone give a hand?
Josep Maria,
matrix <- read.table(fileName, header=TRUE, sep=",")
c1<-matrix[,1]
c2<...