# NOT RUN {
# Load a pre-formatted dtm and topic model
data(nih_sample_dtm)
data(nih_sample_topic_model)
# Get the term frequencies
term_freq_mat <- TermDocFreq(nih_sample_dtm)
str(term_freq_mat)
# }
Run the code above in your browser using DataLab