Displaying 4 results from an estimated 4 matches for "jayanthi".
2005 Mar 30
5
2d plotting and colours
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 code given in the tutorial to perform 2d plot
# i ranges from 2 to 10
cl <- kmeans(x, i, 20)
2005 Mar 31
4
NA's?
...the diagonal
values as values to be "ignored" in a general way is not a possibility.
Just as a curiosity, what were you hoping that na.omit(M) would do?
V.
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Asha Jayanthi
Sent: Thursday, 31 March 2005 11:22 AM
To: r-help at 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 the
diagonal
elements.
I tried setting diag(...
2005 Apr 01
4
error in kmeans
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 <- kmeans(M,centers=10,20)
len = dim(M)[1]
....
....
I ran the same script last night and
2005 Apr 22
1
algorithm used in k-mean clustering
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 to 10. When i did this
initally it worked perfectly. When i tried running again i get the error