Fixed output of greedyMix()

This commit is contained in:
Waldir Leoncio 2023-09-14 11:02:06 +02:00
parent bde3be6344
commit a73752364b
2 changed files with 1 additions and 2 deletions

View file

@ -73,5 +73,5 @@ greedyMix <- function(
)
# Updateing results ==========================================================
return(c(out, "changesInLogml" = changesInLogml))
return(c(out, list("changesInLogml" = changesInLogml)))
}

View file

@ -15,7 +15,6 @@ writeMixtureInfo <- function(
logml, rowsFromInd, data, adjprior, priorTerm, outPutFile, inputFile,
partitionSummary, popnames, fixedK, verbose
) {
changesInLogml <- list()
ninds <- size(data, 1) / rowsFromInd
npops <- size(COUNTS, 3)
# Check that the names refer to individuals