Learn R Programming

ldaPrototype (version 0.3.1)

mergeRepTopics: Merge LDA Topic Matrices

Description

Collects LDA results from a list of replicated runs and merges their topic matrices for a given set of vocabularies.

Usage

mergeRepTopics(...)

# S3 method for LDARep mergeRepTopics(x, vocab, progress = TRUE, ...)

# S3 method for default mergeRepTopics(lda, vocab, id, progress = TRUE, ...)

Arguments

...

additional arguments

x

[named list] LDARep object. Alternatively lda and id can be passed.

vocab

[character] Vocabularies taken into consideration for merging topic matrices. Default is the vocabulary of the first LDA.

progress

[logical(1)] Should a nice progress bar be shown? Turning it off, could lead to significantly faster calculation. Default ist TRUE.

lda

[named list] List of LDA objects, named by the corresponding "job.id".

id

[character(1)] Name for the computation. Default is "LDARep".

Value

[named matrix] with the count of vocabularies (row wise) in topics (column wise).

Details

For details and examples see mergeTopics.

See Also

Other merge functions: mergeBatchTopics(), mergeTopics()

Other replication functions: LDAPrototype(), LDARep(), as.LDARep(), getJob()