Plot method for kclus
# S3 method for kclus
plot(x, plots = "density", shiny = FALSE, custom = FALSE, ...)
Return value from kclus
One of "density", "bar", or "scatter")
Did the function call originate inside a shiny app
Logical (TRUE, FALSE) to indicate if ggplot object (or list of ggplot objects) should be returned. This option can be used to customize plots (e.g., add a title, change x and y labels, etc.). See examples and https://ggplot2.tidyverse.org/ for options.
further arguments passed to or from other methods
See https://radiant-rstats.github.io/docs/multivariate/kclus.html for an example in Radiant
kclus
to generate results
summary.kclus
to summarize results
store.kclus
to add cluster membership to the selected dataset
result <- kclus(shopping, vars = "v1:v6", nr_clus = 3)
plot(result)
Run the code above in your browser using DataLab