Collects LDA results from a given registry and merges their topic matrices for a given set of vocabularies.
mergeBatchTopics(...)# S3 method for LDABatch
mergeBatchTopics(x, vocab, progress = TRUE, ...)
# S3 method for default
mergeBatchTopics(vocab, reg, job, id, progress = TRUE, ...)
additional arguments
[named list
]
LDABatch
object. Alternatively job
, reg
and
id
can be passed or their defaults are taken.
[character
]
Vocabularies taken into consideration for merging topic matrices. Default is
the vocabulary of the first LDA.
[logical(1)
]
Should a nice progress bar be shown? Turning it off, could lead to significantly
faster calculation. Default ist TRUE
.
[Registry
]
Registry. See reduceResultsList
.
[data.frame
or integer
]
A data.frame or data.table with a column named "job.id" or a vector of integerish job ids.
See reduceResultsList
.
[character(1)
]
A name for the registry. If not passed, the folder's name is extracted from reg
.
[named matrix
] with the count of vocabularies (row wise) in topics (column wise).
For details and examples see mergeTopics
.
Other merge functions:
mergeRepTopics()
,
mergeTopics()
Other batch functions:
LDABatch()
,
as.LDABatch()
,
getJob()