R/data.r

#' Tokens from Bush and Obamas State of the Union addresses
#'
#' @docType data
#' @usage data(sotu_data)
#' @format sotu_data: A data.frame with tokens and a data.frame with meta data
'sotu_data'

#' Word assignments, docXtopic matrix and topicXword matrix of an LDA model of the SOTU data
#'
#' @docType data
#' @usage data(sotu_lda)
#' @format sotu_lda: Word assignments is a data.frame with document, lemma and topic columns. topic_word_mat and doc_topic_mat are matrices
"sotu_lda"

Try the tokenbrowser package in your browser

Any scripts or data that you put into this service are public.

tokenbrowser documentation built on Oct. 23, 2020, 6:54 p.m.