I was trying to implement K-means algorithm with a dataset.
1 23.37000 35.07692
2 20.28839 56.80645
3 19.16512 81.53488
and I am getting an error saying
Error in xy.coords(x, y, xlabel, ylabel, log) :
‘x’ is a list, but does not have components ‘x’ and ‘y’
Why is this error coming and how to remove it?