plot.token_count: Plots a token_count object

Description Usage Arguments

View source: R/token_count.R

Description

Plots a token_count object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## S3 method for class 'token_count'
plot(
  x,
  labels = FALSE,
  low = "white",
  high = "red",
  grid = NA,
  label.color = "grey70",
  label.size = 3,
  label.digits = if (weight == "count") {     0 } else {     2 },
  weight = "percent",
  ...
)

Arguments

x

The token_count object.

labels

logical. If TRUE the cell count values will be included on the heatmap.

low

The color to be used for lower values.

high

The color to be used for higher values.

grid

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

label.color

The color to make labels if labels = TRUE.

label.size

The size to make labels if labels = TRUE.

label.digits

The number of digits to print if labels are printed.

weight

The weight to apply to the cell values for gradient fill. Currently the following are available: "proportion", "percent", and "count". See weight for additional information.

...

ignored


trinker/termco documentation built on Jan. 7, 2022, 3:32 a.m.