powered by
kmeans_clus(dataset, km_vars, data_filter = "", km_hc_init = TRUE, km_dist = "sq.euclidian", km_meth = "ward.D", km_seed = 1234, km_nr_clus = 2)
summary.kmeans_clus
plot.kmeans_clus to plot results
plot.kmeans_clus
save_membership to add cluster membership to the selected dataset
save_membership
result <- kmeans_clus("shopping", c("v1:v6"))
Run the code above in your browser using DataLab