topicsInTextList | R Documentation |
For all texts of a given subcorpus, the function creates a list of topics to which most and second-most words from a text were assigned to and the share of words.
topicsInTextList(text, ldaID, scIDs, ldaresult, label = NULL, vocab)
text |
The result of |
ldaID |
List of IDs for |
scIDs |
List of IDs for which topic assignment will be given |
ldaresult |
A result object from the |
label |
Optional label for each topic |
vocab |
Character: Vector of |
TopicWordAssignment: matrix of texts ids and the topic most words were assigned to + share
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.