husson / FactoMineR

Package FactoMineR
42 stars 8 forks source link

Investigate() report error #5

Open LiZhihua1982 opened 4 years ago

LiZhihua1982 commented 4 years ago

1.> OutPCA_DDAneg<-PCAshiny(DDAneg.pca)

Listening on http://127.0.0.1:7713 -- creation of the .Rmd file (time spent : 0s) --

-- detection of outliers (time spent : 0.03s) -- 0 outlier(s) terminated

-- analysis of the inertia (time spent : 0.06s) -- 4 component(s) carrying information : total inertia of 99.2%

-- components description (time spent : 3.61s) -- plane 1:2 plane 3:4 Warning in [<-.factor(*tmp*, Idata$clust %in% false.clust, value = 6) : invalid factor level, NA generated Warning: Error in factor: invalid 'labels'; length 5 should be 1 or 4 61: stop 60: factor 59: description 58: FactoInvestigate::Investigate 45: [C:\Program Files\R\R-3.6.3\library\Factoshiny\FactoPCAapp2/server.R#528] 2: shiny::runApp 1: PCAshiny

  1. Investigate(DDAneg.pca) -- creation of the .Rmd file (time spent : 0s) --

-- detection of outliers (time spent : 0.02s) -- 0 outlier(s) terminated

-- analysis of the inertia (time spent : 0.03s) -- 4 component(s) carrying information : total inertia of 99.2%

-- components description (time spent : 3.49s) -- plane 1:2 plane 3:4 Error in factor(Idata$clust, labels = 1:(last.clust - length(false.clust))) : invalid 'labels'; length 5 should be 1 or 4 In addition: Warning message: In [<-.factor(*tmp*, Idata$clust %in% false.clust, value = 6) : invalid factor level, NA generated