powered by
PCA plot of variables
e_pcavar( modelo, axes = c(1, 2), colorVar = "forestgreen", cos2 = 0, colorCos = "darkorchid", titulos = c("Bien Representados", "Mal Representados") )
echarts4r plot
an object of class PCA [FactoMineR].
a numeric vector of length 2 specifying the dimensions to be plotted.
a color for the variables well represented.
a numeric value from 0 to 1 specifying the quality of the variables.
a color for the variables badly represented.
a character vector of length 2 specifying the titles to use on legend.
Diego Jimenez <diego.jimenez@promidat.com>
p <- FactoMineR::PCA(iris[, -5], graph = FALSE) e_pcavar(p)
Run the code above in your browser using DataLab