R/plot.kMeans.R

Defines functions plot.kMeans

Documented in plot.kMeans

plot.kMeans <-
function(X, col, pch, ...) {
  if (missing("col")) {
    col <- X$Cbest
  }
  if (missing("pch")) {
    pch <- X$Cbest
  }
  plot(X$Y, col=col, pch=pch, ...)
}
rintakumpu/custom-kmeans documentation built on May 3, 2019, 10:45 p.m.