I add 1 line for changing my data into dataframe as you suggested already before use estim_ncpFAMD() like this.
MyData <- as.data.frame(MyData)
result <- estim_ncpFAMD(MyData)
Afterthat, I use estim_ncpFAMD in next line in default, I got the result, but when I add
method.cv (cross validation) is loo, It's not working and appear this error again.
result <- estim_ncpFAMD(MyData,
method.cv = "loo")
Error in if (!any(summary(jeuNA[, j] == 0))) { : missing value where TRUE/FALSE needed In addition: Warning message: In any(summary(jeuNA[, j] == 0)) : coercing argument of type 'character' to logical
It means
method.cv = loo is not suitable with missing data or NA in my data?
I try to check class and type of myData using class(MyData) and typeof(MyData), it shows data.frame for class() and list for typeof()
How can I solve this problem? Which point is not correct?