I am getting the following error while using the EMCluster library in R:
Error in if (nrow(emobj$Mu) != nclass || ncol(emobj$Mu) != p || nrow(emobj$LTSigma) != :
missing value where TRUE/FALSE needed
This is the code I wrote:
emcluster(iris[,-5], pi = NULL, Mu = NULL, LTSigma = NULL,
lab = NULL, EMC = .EMC, assign.class = FALSE)
I am using the Iris dataset.
My goal is to run an EM clustering algorithm and describe my observations through plots, etc.