powered by
kmeansN(x, k, variable.names = "x", target.name = "y", cluster.name = "cluster", n = 100)
## Not run: # data(actData) # act.kmn <- kmeansN(actData, 3, paste0("x",1:17),"y") # table(act.kmn$cluster) # ## End(Not run)
Run the code above in your browser using DataLab