View source: R/mod_cluster_utils.R
e_radar | R Documentation |
Radar representation for centers of clusters.
e_radar(centros, colores = NULL)
centros |
a data.frame object with the centers of the clusters. |
colores |
a vector of color for each cluster. |
echarts4r plot
Diego Jimenez <diego.jimenez@promidat.com>
clusters <- factor(kmeans(iris[, -5], 3)$cluster) c <- calc.centros(iris[, -5], clusters) e_radar(c$porcentual, c("steelblue", "pink", "forestgreen"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.