Function to plot topic network
Number of words from each topic to be included in graph
trained tmTopicModel object
network The graph visualising the network
## Not run:
x <- tmCorpus(rep("as, a , a ,s l k l l k k j h g f f hg j aaa", 100))
model <- suppressMessages(train(x))
table_topic <- topic_table(model)
network <- topic_network(10 ,table_topic$words)
## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.