Learn R Programming

petro.One (version 0.2.3)

get_top_term_papers: Get papers for top "N" terms

Description

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.

Usage

get_top_term_papers(papers, tdm_matrix, top_terms, terms = NULL,
  verbose = FALSE)

Arguments

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