Open sergioventurini opened 1 year ago
I noticed that in the latest release the LikelihoodDP() function resizes the likelihoodValues object using the code
LikelihoodDP()
likelihoodValues
dim(likelihoodValues) <- c(nrow(dpobj$data), dpobj$numberClusters)
but this shuffles the values in a strange way. I think it should be replaced by something like
likelihoodValues <- matrix(likelihoodValues, nrow = dpobj$n, ncol = dpobj$numberClusters, byrow = TRUE)
Looking forward to know what do you think about it. Thanks!
I noticed that in the latest release the
LikelihoodDP()
function resizes thelikelihoodValues
object using the codedim(likelihoodValues) <- c(nrow(dpobj$data), dpobj$numberClusters)
but this shuffles the values in a strange way. I think it should be replaced by something like
likelihoodValues <- matrix(likelihoodValues, nrow = dpobj$n, ncol = dpobj$numberClusters, byrow = TRUE)
Looking forward to know what do you think about it. Thanks!