I am a complete beginner at R and am using the "kmeans" function for the first time...
I have a data frame (dat) that is 17 columns *  91 rows (including headers)

I have entered the following:
cl <- kmeans(dat, 3, 10)
plot(dat, col = cl$cluster)
points(cl$centers, col = 1:2, pch = 8)

the output is 17*17 graphs ...
this is not what I was anticipating - I was hoping to get one graph with 17 points in 3 clusters!
can anyone point me in the right direction?

Thanks
Louize Hill
	[[alternative HTML version deleted]]


