Week48 - stmCorrViz
December 01, 2015
This Week’s Widget - stmCorrViz
| htmlwidgetized stmCorrViz
Way back in week 13, I html-widgetized stmBrowser
which pairs with stm
and stmCorrViz
. Scott Jacobs very kindly asked if I could also html-widgetize stmCorrViz
, and I said yes. While at it, I also fixed a couple bugs in stmBrowser
.
Please note that any screwups or malfunctions are mine and not the original authors.
Quick Installation
The htmlwidget
version of stmBrowser
currently exists as a fork with a different branch on Github. For now please install with devtools::install_github
. Also, you’ll need stm
from CRAN.
#install.packages("stm")
#devtools::install_github("timelyportfolio/stmBrowser@htmlwidget")
devtools::install_github("timelyportfolio/stmCorrViz@htmlwidget")
Example in a Presentation
Remember I know basically nothing about Structural Topic Models (stm), so I’ll just use one of the examples from ?stm::stm
and then slap both the stmCorrViz
and stmBrowser
in a rmarkdown
presentation to prove that it really is an htmlwidget
. This demonstrates one of the many benefits of htmlwidgets
.
Thanks
Thanks so much for all the work by
- Antonio Coppola, Michael Freeman, Jason Chuang, Molly Roberts, Brandon Stewart and Dustin Tingley for letting me barge in on their great work and mess it up in who knows how many ways
- Ramnath Vaidyanathan and RStudio for
htmlwidgets
- all the contributors to
R