Learn R Programming

MetaNLP (version 0.1.4)

summary,MetaNLP-method: Summary of MetaNLP-objects

Description

Returns a quick overview over the \(n\) most frequent word stems structured into included and excluded papers.

Usage

# S4 method for MetaNLP
summary(object, n = 5, stop_words = FALSE, ...)

Value

A list of most frequent words.

Arguments

object

An object of class MetaNLP.

n

Number of most frequent words to be displayed.

stop_words

Boolean to decide whether stop words shall be included in the summary. stop_words = TRUE means, that stop words are included.

...

Additional parameters for delete_stop_words (e.g. language of the stop words).

Examples

Run this code
path <- system.file("extdata", "test_data.csv", package = "MetaNLP", mustWork = TRUE)
obj <- MetaNLP(path)
summary(obj, n = 8)

Run the code above in your browser using DataLab