Associated Press

Click here to see the result of the code below:

library("LDAvis")
data(AP, package = "LDAvisData")
json <- with(AP, createJSON(phi, theta, doc.length, vocab, term.frequency))
serVis(json, out.dir = 'vis', open.browser = FALSE)


cpsievert/LDAvis documentation built on May 13, 2019, 10:54 p.m.