View source: R/mod_acp_utils.R
| e_pcavar | R Documentation | 
PCA plot of variables
e_pcavar(
  modelo,
  axes = c(1, 2),
  colorVar = "forestgreen",
  cos2 = 0,
  colorCos = "darkorchid",
  titulos = c("Bien Representados", "Mal Representados")
)
modelo | 
 an object of class PCA [FactoMineR].  | 
axes | 
 a numeric vector of length 2 specifying the dimensions to be plotted.  | 
colorVar | 
 a color for the variables well represented.  | 
cos2 | 
 a numeric value from 0 to 1 specifying the quality of the variables.  | 
colorCos | 
 a color for the variables badly represented.  | 
titulos | 
 a character vector of length 2 specifying the titles to use on legend.  | 
echarts4r plot
Diego Jimenez <diego.jimenez@promidat.com>
p <- FactoMineR::PCA(iris[, -5], graph = FALSE) e_pcavar(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.