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)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.