Re: [R] K-Means clustering Algorithm

2012-08-29 Thread David L Carlson
;M University College Station, TX 77843-4352 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of olemissrebs1123 > Sent: Tuesday, August 28, 2012 3:16 PM > To: r-help@r-project.org > Subject: [R] K-Means clustering Algorith

[R] K-Means clustering Algorithm

2012-08-28 Thread olemissrebs1123
I was wondering if there was an R equivalent to the two phased approach that MATLAB uses in performing the Kmeans algorithm. If not is there away that I can determine if the kmeans in R and the kmeans in MATLAB are essentially giving me the same clustering information within a small amount of erro

[R] K-means clustering with NA

2009-08-06 Thread Arup
I am running a k-means clustering code in R : mydata_kmeans5 <- kmeans(mydata, centers=5).. But the problem is that the data is having some "NA" in it. So R is showing me a message :Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1) In addition: Warning messages: 1: In switch(n

Re: [R] K-Means Clustering

2008-05-09 Thread Don MacQueen
Unfortunately, your data is *not* numeric. That is what the first error message, " 'x' must be numeric", is telling you, and you should believe it. It might look numeric, but it isn't, which is why Ingmar mentioned you might have factors instead of numbers. Your challenge is to discover why. T

Re: [R] K-Means Clustering

2008-05-09 Thread Ingmar Visser
On 9 May 2008, at 09:12, Jordan van Rijn wrote: > Hello, > > I am hoping you can help me with a question concerning kmeans > clustering > in R. I am working with the following data-set (abbreviated): > > > BMW Ford Infiniti Jeep Lexus Chrysler Mercedes Saab Porsche > Volvo > [

[R] K-Means Clustering

2008-05-09 Thread Jordan van Rijn
Hello, I am hoping you can help me with a question concerning kmeans clustering in R. I am working with the following data-set (abbreviated): BMW Ford Infiniti Jeep Lexus Chrysler Mercedes Saab Porsche Volvo [1,] 6828 4544 7 7

Re: [R] K Means Clustering Weighted by Frequency

2008-02-05 Thread Bill.Venables
essage- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aylward, Jesse Sent: Wednesday, 6 February 2008 7:17 AM To: r-help@r-project.org Subject: [R] K Means Clustering Weighted by Frequency *Apologies if this is not the right way to ask a question, I'm a first timer posting here.

[R] K Means Clustering Weighted by Frequency

2008-02-05 Thread Aylward, Jesse
*Apologies if this is not the right way to ask a question, I'm a first timer posting here. Does anyone have a solution to this? I'm having trouble figuring out how to use weighting with K Means Clustering. So say if my dataset is: Column 1 = x coords Column 2 = y coords Column 3 = frequency

Re: [R] k-means clustering

2007-09-13 Thread paulandpen
Hi David, That area/topic you flagged is unusual to say the least in the grand scheme of what I have read in the coverage of k-means. I have been using k-means for many years, and have never come across this before (maybe out of ignorance and not keeping abreast of all the issues associated

Re: [R] k-means clustering

2007-09-12 Thread Ingmar Visser
Googling for sphericity gives wikipedia as a first link which says: Sphericity is a measure of how spherical (round) an object is. The second hit gives the connection with statistics, in particular ANOVA, http://www.linguistics.ucla.edu/faciliti/facilities/statistics/spher.htm hth, Ingmar On S

[R] k-means clustering

2007-09-12 Thread darteta001
Dear list, first apologies for this is not strictly an R question but a theoretical one. I have read that use of k-means clustering assumes sphericity of data distribution. Can anyone explain me what this means? My statistical background is too poor. Is it another kind of distribution, like g