plot-MetaNLP-missing-method: Create word cloud from MetaNLP-object

plot,MetaNLP,missing-methodR Documentation

Create word cloud from MetaNLP-object

Description

This method creates a word cloud from a MetaNLP object. The word size indicates the frequency of the words.

Usage

## S4 method for signature 'MetaNLP,missing'
plot(
  x,
  y = NULL,
  max.words = 70,
  colors = c("snow4", "darkgoldenrod1", "turquoise4", "tomato"),
  decision = c("total", "include", "exclude"),
  ...
)

Arguments

x

A MetaNLP object to plot

y

not used

max.words

Maximum number of words in the word cloud

colors

Character vector with the colors in

decision

Stratify word cloud by decision. Default is no stratification.

...

Additional parameters for wordcloud

Value

nothing

Examples

path <- system.file("extdata", "test_data.csv", package = "MetaNLP", mustWork = TRUE)
obj <- MetaNLP(path)
plt <- plot(obj)


MetaNLP documentation built on April 4, 2025, 5:11 a.m.