plot,MetaNLP,missing-method {MetaNLP}R 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"),
  ...
)

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

...

Additional parameters for wordcloud

Value

nothing

Examples

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


[Package MetaNLP version 0.1.2 Index]