e_pcaind {discoveR}R Documentation

PCA plot of individuals

Description

PCA plot of individuals

Usage

e_pcaind(
  modelo,
  axes = c(1, 2),
  colorInd = "steelblue",
  cos2 = 0,
  colorCos = "firebrick",
  titulos = c("Bien Representados", "Mal Representados"),
  etq = F
)

Arguments

modelo

an object of class PCA [FactoMineR].

axes

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

colorInd

a color for the individuals well represented.

cos2

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

colorCos

a color for individuals 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.

Value

echarts4r plot

Author(s)

Diego Jimenez <diego.jimenez@promidat.com>

Examples

p <- FactoMineR::PCA(iris[, -5], graph = FALSE)
e_pcaind(p)


[Package discoveR version 3.1.2 Index]