summary,MetaNLP-method {MetaNLP}R Documentation

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 signature 'MetaNLP'
summary(object, n = 5, stop_words = FALSE, ...)

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).

Value

A list of most frequent words.

Examples

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


[Package MetaNLP version 0.1.2 Index]