wordFreqChart: Create a word frequency chart

Description Usage Arguments Value

View source: R/textAnalysis.R

Description

This function creates a horizontal barchart of word frequencies.

Usage

1
2
3
4
5
6
7
wordFreqChart(
  word_freqs,
  min_freq = 1,
  top_count = 20,
  pcolors = NULL,
  family = NULL
)

Arguments

word_freqs

Dataframe. Word frequencies.

min_freq

Numeric. Minimum frequency for a word to be included in the chart. Default is 1.

top_count

Numeric. Top count of words to render in word frequency chart. Default is 20.

pcolors

List. Colors to assign categorical variable in the plot. Default is NULL.

family

Character string. Set a font family for plot labels. Default is NULL.

Value

A barchart plot.


VOSONDash documentation built on July 27, 2020, 5:07 p.m.