View source: R/mod_acp_utils.R
| e_pcabi | R Documentation | 
PCA biplot
e_pcabi(
  modelo,
  axes = c(1, 2),
  colorInd = "steelblue",
  colorVar = "forestgreen",
  cos2Ind = 0,
  cos2Var = 0,
  colorIndCos = "firebrick",
  colorVarCos = "darkorchid",
  titulos = c("Bien Representados", "Mal Representados"),
  etq = F
)
| 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. | 
| 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 the individuals badly represented. | 
| colorVarCos | 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. | 
echarts4r plot
Diego Jimenez <diego.jimenez@promidat.com>
p <- FactoMineR::PCA(iris[, -5], graph = FALSE) e_pcabi(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.