Does the reorder.topics parameter do anything?
jamesLSI opened this issue · 2 comments
jamesLSI commented
Hi,
Does the reorder.topics parameter do anything? I need to try and keep the topicmodels numbering due to the number of different models I'll be producing and how we're using the output but whether '= TRUE' or '= FALSE' the vis is exactly the same.
I've seen issues #42 and #46 on topic numbering along with https://github.com/cpsievert/LDAvis/blob/master/R/createJSON.R but am none the wiser.
Thanks
James
dyuval commented
Hi James,
What version of LDAvis are you using? I believe that the reorder.topics parameter is not included in the CRAN version, but is available in the dev version. I had a similar need (of wanting to keep the order of topics) and was able to do it using the dev version.
Hope it is helpful!
Yuval
jamesLSI commented
Hi Yuval,
I’m using LDAvis_0.3.2 the latest CRAN version.
I've just installed the dev version using devtools::install_github("cpsievert/LDAvis") and the reorder.topics parameter works in this.
Thanks for your help!
James