View source: R/explore_LDAs_lollipop.R
explore_LDAs_lollipops | R Documentation |
Produces exploratory visualisations from LDA models.
explore_LDAs(
ldas,
top_terms = TRUE,
top_n = 15,
nrow = 2,
diff_terms = TRUE,
diff_n = 10,
bigrams = TRUE,
bigram_n = 50,
bigram_threshold = 0.5,
exemplars = TRUE,
exemplars_n = 50,
probabilities = TRUE,
coherence = TRUE,
coherence_n = 10
)
ldas |
A nested tibble where each row contains and LDA model. |
top_terms |
Should bar charts of the top terms for each topic be produced? |
top_n |
How many terms should be included in the top terms bar chart for each topic? |
nrow |
How many rows should the facetted plot go across? |
diff_terms |
Should bar charts of distinguishing terms for each topic be produced? |
diff_n |
How many terms should be included in the distinguishing terms bar chart for each topic? |
bigrams |
Should a bigram network be produced for each topic? |
bigram_n |
How many bigrams should be included in the network? |
bigram_threshold |
What proportion of a post should be assigned to a topic for it to be considered for inclusion in the bigram network? |
exemplars |
Should a tibble of exemplar posts be produced? |
exemplars_n |
How many exemplars should be provided for each topic? |
probabilities |
Should a tibble of document-topic probabilities be produced? |
coherence |
Should a tibble of topic coherence measurements be produced? |
coherence_n |
Number of words to be used in coherence calculation. |
A nested tibble containing columns with the requested objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.