Learn R Programming

discoveR (version 3.1.2)

e_afcmbi_3D: AFCM biplot in 3D

Description

AFCM biplot in 3D

Usage

e_afcmbi_3D(
  modelo,
  axes = c(1, 2, 3),
  colorInd = "steelblue",
  colorVar = "forestgreen",
  cos2Ind = 0,
  cos2Var = 0,
  colorIndCos = "firebrick",
  colorVarCos = "darkorchid",
  titulos = c("Bien Representados", "Mal Representados"),
  etq = T
)

Value

echarts4r plot

Arguments

modelo

an object of class AFCM [FactoMineR].

axes

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

colorInd

a color for the individuals well represented.

colorVar

a color for the variables well represented.

cos2Ind

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

cos2Var

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

colorIndCos

a color for individuals badly represented.

colorVarCos

a color for variables badly represented.

titulos

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

etq

a boolean, whether to add label to graph or not.

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_afcmbi_3D(p)

Run the code above in your browser using DataLab