title: How to change the color of clusters using R?
body: <p>I am using the R for Kmeans Clustering, so I load the library (fpc), and using plotcluster method to plot the data.</p>
  
  <pre><code>clus &lt;- kmeans(data, centers = 5)
  plotcluster(data, clus$cluster, pch = clus$cluster)
  </code></pre>
  
  <p>So 5 groups of particles are plotted, but with default colors for different groups. But how can I change the colors of the particles? </p>
  
  <p>For example, group 1 to some particular color and group 2 to some particular color.</p>
  
  <p>There is a parameter called "<code>col</code>" in the plotcluster function, but I don't know how to change it.</p>