View source: R/7_2_textTopicsAnalysis.R
textTopicsWordcloud | R Documentation |
This function create word clouds and topic fugures
textTopicsWordcloud(
model = NULL,
ngrams = NULL,
test = NULL,
save_dir,
seed = 2024,
...
)
model |
(list) A trained topics model. For examples from topicsModel(). Should be NULL if plotting ngrams. |
ngrams |
(list) The output from the the topicsGram() function . Should be NULL if plotting topics. |
test |
(list) The test results; if plotting according to dimension(s) include the object from topicsTest() function. |
save_dir |
(string) The directory to save the plots. |
seed |
(integer) The seed to set for reproducibility; need to be the same seed number as in in |
... |
Parameters from the topicsPlot() function in the topics pacakge. |
The function saves figures in the save_dir.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.