*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 each coordinate occurs 

So I'm basically trying to weight the points more heavily if they occur
more frequently. 

I've been trying 

kmeans(a[,1:2], centers=52, weights=a[,3]) 

It works well before adding in the weights, it also doesn't work with
"weights=c(frequency 1, frequency 2, .)" and a few others I've tried.
Maybe I don't know how to search the previous topics or the software
help well enough yet, but I haven't come across an example that lays out
weighting yet.

Thank you in advance to anyone who has the answer. 

Jesse 

NOTICE -
This communication is intended ONLY for the use of the person or entity
named above and may contain information that is confidential or legally
privileged. If you are not the intended recipient named above or a
person responsible for delivering messages or communications to the
intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution,
or copying of this communication or any of the information contained in
it is strictly prohibited. If you have received this communication in
error, please notify us immediately by telephone and then destroy or
delete this communication, or return it to us by mail if requested by
us. The City of Calgary thanks you for your attention and co-operation.


	[[alternative HTML version deleted]]

