From 2c8286fd5431651e5c54cae76e4639a99ab5a2c9 Mon Sep 17 00:00:00 2001 From: JoseCorCab Date: Fri, 14 Jun 2024 10:30:10 +0200 Subject: [PATCH] sup variables title now is controlled --- inst/templates/facto_miner.Rmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inst/templates/facto_miner.Rmd b/inst/templates/facto_miner.Rmd index 557ce23..09d75b3 100644 --- a/inst/templates/facto_miner.Rmd +++ b/inst/templates/facto_miner.Rmd @@ -78,9 +78,10 @@ FactoMineR::plot.PCA(pca_data, invisible = "quali" , title = "", label = "none", FactoMineR::plot.PCA(pca_data, title = "") ``` -#### **Representation of the variable contribution to the PCA axis 1 and 2** ```{r , echo = FALSE, warning =FALSE, message=FALSE, results = 'asis', eval = !is.null(numeric_factors)} +cat("#### **Representation of the variable contribution to the PCA axis 1 and 2**") + factoextra::fviz_pca_var(pca_data, axes = c(1, 2),select.var = list(name=numeric_factors), col.var="steelblue", title="") + ggplot2::theme_minimal()