Displaying 4 results from an estimated 4 matches for "ashajayanthi".
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?
Your message doesn't help us very much. You haven't said what kind of
calculation it is you want to do, and that certainly matters. For
example, for some kinds of computations the solution you started below
would work fine:
> M <- matrix(1:16, 4, 4)
> is.na(diag(M)) <- TRUE
> M
[,1] [,2] [,3] [,4]
[1,] NA 5 9 13
[2,] 2 NA 10 14
[3,] 3 7 NA
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