Description Usage Arguments Value Author(s) References See Also
Simulate a document-feature-matrix from estimated DTW and TWW. The number of topics as well as the number of documents are inferred from the LDA parameters.
1 |
DTW |
A matrix or data.frame with Document-Topic-Weights. |
TWW |
A matrix or data.frame with Topic-Word-Weights. |
doc_length |
A vector containing the desired document length as total number of word counts. |
alpha |
Parameter of the Dirichlet distribution for topics over documents. |
seed |
Input to |
A dfm
object.
Francesco Grossetti francesco.grossetti@unibocconi.it
Craig M. Lewis craig.lewis@owen.vanderbilt.edu
Lewis, C. and Grossetti, F. (2019 - forthcoming):
A Statistical Approach for Optimal Topic Model Identification.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.