powered by
View term scores for a given document
get_doc_terms(dtm, docname = NULL, doc_i = NULL)
A named vector with terms (names) and scores
A quanteda dfm
name of document to select
alternatively, select document by index
get_doc_terms(rnewsflow_dfm, doc_i=1)
Run the code above in your browser using DataLab