Indicate the top terms from which we want to extract papers. For instance, if we want the papers for the top 10 terms, we set top_terms = 10.
get_top_term_papers(papers, tdm_matrix, top_terms, terms = NULL, verbose = FALSE)
papers | a dataframe with papers |
---|---|
tdm_matrix | a Term Document Matrix |
top_terms | top 10, or top 20, etc. |
terms | a term or vector of terms to get papers from |
verbose | set to TRUE to show progress |