Description Usage Arguments Value
This will create a set of linked html pages to browse the given topic model
1 2 3 4 | createTopicBrowser(clusterinfo, plotfunction.overview = plot_wordcloud,
plotfunction.pertopic = c(plot_wordcloud, plot_topicdistribution),
output = NULL, nmaxdoc = 10, nmaxwords = 100, browse = interactive(),
topic_nrs = 1:nrow(info$topics_per_doc), ...)
|
clusterinfo |
The output of the |
plotfunction.overview |
A standardized function (see the 'plot.' functions). Determines how the topics in the general topic overview are visualized |
plotfunction.pertopic |
A standardized function (see the 'plot.' functions). Determines what information is visualized in the pages per topic. Can be a list of multiple functions, in which case multiple plots are made. |
output |
an optional file name to write the browser html to |
nmaxdoc |
an integer, indicating the maximum number of top articles to be printed for each topic. |
... |
Parameters to be passed to the plotfunctions. |
the html generated or (invisible) the filename
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.