Learn R Programming

discoveR (version 3.1.2)

e_afcbi: AFC biplot

Description

AFC biplot

Usage

e_afcbi(
  modelo,
  axes = c(1, 2),
  colorRow = "steelblue",
  colorCol = "forestgreen",
  cos2Row = 0,
  cos2Col = 0,
  colorRowCos = "firebrick",
  colorColCos = "darkorchid",
  titulos = c("Bien Representados", "Mal Representados"),
  etq = T
)

Value

echarts4r plot

Arguments

modelo

an object of class CA [FactoMineR].

axes

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

colorRow

a color for the individuals well represented.

colorCol

a color for the variables well represented.

cos2Row

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

cos2Col

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

colorRowCos

a color for the individuals badly represented.

colorColCos

a color for the 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
p <- FactoMineR::CA(iris[, -5], graph = FALSE)
e_afcbi(p)

Run the code above in your browser using DataLab