Learn R Programming

discoveR (version 3.1.2)

e_afcmcat_3D: AFCM plot of categories in 3D

Description

AFCM plot of categories in 3D

Usage

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

Value

echarts4r plot

Arguments

modelo

an object of class AFCM [FactoMineR].

axes

a numeric vector of length 3 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 categories badly represented.

titulos

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

Author

Diego Jimenez <diego.jimenez@promidat.com>

Examples

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

Run the code above in your browser using DataLab