Nothing
## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----example_setup------------------------------------------------------------
library(topicdoc)
library(topicmodels)
data("AssociatedPress")
lda_ap4 <- LDA(AssociatedPress,
control = list(seed = 33), k = 4)
# See the top 10 terms associated with each of the topics
terms(lda_ap4, 10)
## ----all_at_once--------------------------------------------------------------
topic_diagnostics(lda_ap4, AssociatedPress)
## ----one_at_a_time------------------------------------------------------------
topic_size(lda_ap4)
mean_token_length(lda_ap4)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.