ggtf_idf: ggtf_idf

View source: R/ggtf_idf.R

ggtf_idfR Documentation

ggtf_idf

Description

Draws a graph of the bigrams, which contain at least one of the words with the highest TF-IDF value.

Usage

ggtf_idf(
  x,
  stem_function = function(x) corpus::stem_snowball(x, "hu"),
  n = 10,
  language = "hu",
  drop_words = stopwords::stopwords("hu"),
  min_bigram_n = 1,
  drop_numbers = TRUE
)

Arguments

x

A data.frame containing one fct column and one column of text. Levels of the fct column gives the categories for the TF-IDF calculation, but only the first and the last level will appear on the plot

Value

Ggobject overview_print

Examples

plot3D()

MarcellGranat/granatlib documentation built on July 9, 2023, 6:08 a.m.