e_vert: Vertical representation for centers of clusters.

View source: R/mod_cluster_utils.R

e_vertR Documentation

Vertical representation for centers of clusters.

Description

Vertical representation for centers of clusters.

Usage

e_vert(centros, colores = NULL)

Arguments

centros

a data.frame object with the centers of the clusters.

colores

a vector of color for each cluster.

Value

echarts4r plot

Author(s)

Diego Jimenez <diego.jimenez@promidat.com>

Examples

clusters <- factor(kmeans(iris[, -5], 3)$cluster)
c <- calc.centros(iris[, -5], clusters)
e_vert(c$real, c("steelblue", "pink", "forestgreen"))


discoveR documentation built on Jan. 22, 2023, 1:15 a.m.

Related to e_vert in discoveR...