e_vert {discoveR}R 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"))


[Package discoveR version 3.1.2 Index]