Fixed output of greedyMix()
This commit is contained in:
parent
bde3be6344
commit
a73752364b
2 changed files with 1 additions and 2 deletions
|
|
@ -73,5 +73,5 @@ greedyMix <- function(
|
||||||
)
|
)
|
||||||
|
|
||||||
# Updateing results ==========================================================
|
# Updateing results ==========================================================
|
||||||
return(c(out, "changesInLogml" = changesInLogml))
|
return(c(out, list("changesInLogml" = changesInLogml)))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ writeMixtureInfo <- function(
|
||||||
logml, rowsFromInd, data, adjprior, priorTerm, outPutFile, inputFile,
|
logml, rowsFromInd, data, adjprior, priorTerm, outPutFile, inputFile,
|
||||||
partitionSummary, popnames, fixedK, verbose
|
partitionSummary, popnames, fixedK, verbose
|
||||||
) {
|
) {
|
||||||
changesInLogml <- list()
|
|
||||||
ninds <- size(data, 1) / rowsFromInd
|
ninds <- size(data, 1) / rowsFromInd
|
||||||
npops <- size(COUNTS, 3)
|
npops <- size(COUNTS, 3)
|
||||||
# Check that the names refer to individuals
|
# Check that the names refer to individuals
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue