Browse Source

Added PCA

master
Maxime Wack 6 years ago
parent
commit
7facec14a4
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      index.Rmd

+ 12
- 0
index.Rmd View File

@@ -14,6 +14,7 @@ library(knitr)
library(magrittr)
library(desctable)
library(plotly)
library(FactoMineR)

opts_chunk$set(message = F,
echo = F,
@@ -111,3 +112,14 @@ DT::renderDataTable({
datatable
}, server = F)
```

#### PCA

```{r resultat_PCA}
renderPlot({
data_abondances() %>%
select(one_of(c(input$groupes_abondances,input$variables_abondances))) %>%
PCA(quali.sup=1, graph = F) %>%
plotellipses(keepvar = 1)
})
```

Loading…
Cancel
Save