title: Can Kmeans total within sum of squares increase with number of clusters?
body: <p>I am seeing an increase in total within Sum of squares when I am using below code.Is this even possible or I am doing some mistake in code?</p>
  
  <pre><code>v&lt;-foreach(i = 1:30,.combine = c)  %dopar%  {
    iter &lt;- kmeans (clustering_data,centers = i,iter.max = 1000)
    iter$tot.withinss
  }
  </code></pre>