summarize_tf_idf: Add TF-IDF summary based on groupings.

Description Usage Arguments Value

Description

The TF-IDF function in tidytext requires an explicit 'doc' parameter; this applies it on the existing dataset groups.

Usage

1
summarize_tf_idf(frame, word, count)

Arguments

frame

A grouped data from

word

The unquoted variable name storing terms for frequency

count

The unquoted variable storing the count

Value

A data_frame with a column tfidf added.


HumanitiesDataAnalysis/TEIdy documentation built on May 11, 2019, 7:25 p.m.