e_afcmcat: AFCM plot of categories

View source: R/mod_afcm_utils.R

e_afcmcatR Documentation

AFCM plot of categories

Description

AFCM plot of categories

Usage

e_afcmcat(
  modelo,
  axes = c(1, 2),
  colorCat = "forestgreen",
  cos2 = 0,
  colorCos = "darkorchid",
  titulos = c("Bien Representados", "Mal Representados")
)

Arguments

modelo

an object of class AFCM [FactoMineR].

axes

a numeric vector of length 2 specifying the dimensions to be plotted.

colorCat

a color for the categories well represented.

cos2

a numeric value from 0 to 1 specifying the quality of the categories.

colorCos

a color for the categories badly represented.

titulos

a character vector of length 2 specifying the titles to use on legend.

Value

echarts4r plot

Author(s)

Diego Jimenez <diego.jimenez@promidat.com>

Examples

data("poison", package = "FactoMineR")
poison.active <- poison[1:55, 5:15]
p <- FactoMineR::MCA(poison.active, graph = FALSE)
e_afcmcat(p)


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

Related to e_afcmcat in discoveR...