I am having a trouble finding whats the problem in the code....I used multiple function with my dataset(CSV file contains multiple quant/quali variables) but always it tells me the following error in the last line on code
Error in .rowNamesDF<-(x, value = value) : duplicate 'row.names' are not allowed`
I dont think there is a duplicate rows in y dataset, I even checked that with the function (duplicated)...
library(FactoMineR)
library(factoextra)
data=read.csv("D:/ESSAI/1ere/Stage/AFDM/données.csv")
data1=data[,c(12:26)]
res.famd <- FAMD(data1, graph = FALSE)
eig.val <- get_eigenvalue(res.famd)
fviz_screeplot(res.famd)
var <- get_famd_var (res.famd)
fviz_famd_var (res.famd, repel = TRUE)
fviz_contrib (res.famd, "var", axes = 1)
fviz_contrib (res.famd, "var", axes = 2)
quanti.var <- get_famd_var(res.famd, "quanti.var")
fviz_famd_var(res.famd, "quanti.var", repel = TRUE,
col.var = "black")