plot.word_cor: Plots a word_cor object

View source: R/word_cor.R

plot.word_corR Documentation

Plots a word_cor object

Description

Plots a word_cor object.

Usage

## S3 method for class 'word_cor'
plot(
  x,
  label = TRUE,
  lab.digits = 3,
  high = "red",
  low = "white",
  grid = NULL,
  ncol = NULL,
  ...
)

Arguments

x

The word_cor object

label

logical. If TRUE the cells of the heat map plot will be labeled with count and proportional values.

lab.digits

Integer values specifying the number of digits to be printed if label is TRUE.

high

The color to be used for higher values.

low

The color to be used for lower values.

grid

The color of the grid (Use NULL to remove the grid).

ncol

The number of columns to arrange the facets in (specifying an integer results in the use of facet_wrap, specifying NULL utilizes a single column with facet_grid. The second approach limits columns but allows the y scale's space to be free.

...

Other arguments passed to qheat if matrix and other arguments passed to geom_point if a list.


qdap documentation built on May 31, 2023, 5:20 p.m.