Hi,
I have used the kmean fucntion in R to produce some results for my analysis.
I like to know the specific underlying algorithm used for the implementation
of the function kmean in R. I tried looking for some documents but could not
find any.
I obtained the kmean result for k ranging from 2
I am trying to generate kmean of 10 clusters for a 165 x 165 matrix.
i do not see any errors known to me. But I get this error on running the
script
Error: empty cluster: try a better set of initial centers
the commands are
M -matrix(scan(R_mutual,n = 165 * 165),165,165,byrow = T)
cl -
]
[mailto:[EMAIL PROTECTED] On Behalf Of Asha Jayanthi
Sent: Thursday, 31 March 2005 11:22 AM
To: r-help@stat.math.ethz.ch
Subject: [R] NA's?
I have a large matrix of data .
The size of the matrix ranges from 100 x 100 to 1000 x 1000
Now i have to do computations on that. And should not consider
is not a possibility.
Just as a curiosity, what were you hoping that na.omit(M) would do?
V.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Asha Jayanthi
Sent: Thursday, 31 March 2005 11:22 AM
To: r-help@stat.math.ethz.ch
Subject: [R] NA's?
I have a large matrix of data
Thank you.
mycols - c(brown,orange,tomato)
plot(x,col = mycols[cl$cluster])
this works. I can define distinct colours and check the graph.
the rest of the examples does not give a wide palette to choose from
Asha
From: Mulholland, Tom [EMAIL PROTECTED]
To: Asha Jayanthi [EMAIL PROTECTED],r-help
colours , say col = cl$cluster =
a set of group numbers say 1...10 should produce 10 distinct colours points
grouped by colour.
how to do this when you have more than 8 group colours to plot
From: Mulholland, Tom [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch,Asha Jayanthi [EMAIL PROTECTED]
Subject: RE
I have a large matrix of data .
The size of the matrix ranges from 100 x 100 to 1000 x 1000
Now i have to do computations on that. And should not consider the diagonal
elements.
I tried setting diag(M) = NA and M = na.omit(M).
But this omits all the rows. I only want to omit that diagonal
Hi!
I am new to R just 3 days in it and i apologize if my questions seem very
trivial and consumed your valuable time.
I am coding in perl and i stumbled upon R regarding plotting good
statistical graphs.
I tried the kmean clustering for a large matrix ,say 150 * 150 . I tried
the example