Description Usage Arguments Value
View source: R/term-analysis.R
select_top_terms
allows to select a specified number of top terms
based on miscellaneous properties of the term frequencies. This method is
typically used to select term frequency time series for plotting and
exploratory analysis. See the details of the function arguments for selection
options.
1 2 | select_top_terms(termFrequencies, topN = 25,
selectBy = "most_frequent", selectTerms = NULL)
|
termFrequencies |
a dataframe of |
topN |
the number of returned top terms meeting the selection criteria
in |
selectBy |
the selection approach which determines the metric by which
|
selectTerms |
a character vector of term patterns, that terms are
matched to for selection. |
a dataframe specifying trend metrics employed for selecting top
term
s, where:
a unique term
the total number of a term
's occurrences in the
dataset
the slope coefficient of a linear model fit to this
term
's time frequency series
the residual
standard deviation of a linear model fit to this term
's time
frequency series
a categorisation of the term frequency trend
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.