Learn R Programming

qdap (version 2.4.6)

plot.word_length: Plots a word_length Object

Description

Plots a word_length object.

Usage

# S3 method for word_length
plot(
  x,
  label = FALSE,
  lab.digits = 1,
  percent = NULL,
  zero.replace = NULL,
  ...
)

Arguments

x

The word_length 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.

percent

logical. If TRUE output given as percent. If FALSE the output is proportion. If NULL uses the value from word_length. Only used if label is TRUE.

zero.replace

Value to replace 0 values with. If NULL uses the value from word_length. Only used if label is TRUE.

...

Other arguments passed to qheat.