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