powered by
Add a cluster membership variable to the active dataset
# S3 method for kclus store(dataset, object, name = "", ...)
Dataset to append to cluster membership variable to
Return value from kclus
kclus
Name of cluster membership variable
Additional arguments
See https://radiant-rstats.github.io/docs/multivariate/kclus.html for an example in Radiant
kclus to generate results
summary.kclus to summarize results
summary.kclus
plot.kclus to plot results
plot.kclus
kclus(shopping, vars = "v1:v6", nr_clus = 3) %>% store(shopping, .) %>% head()
Run the code above in your browser using DataLab