Learn R Programming

qdap (version 2.4.6)

plot.pos_by: Plots a pos_by Object

Description

Plots a pos_by object.

Usage

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

Arguments

x

The pos_by 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 question_type. Only used if label is TRUE.

zero.replace

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

...

Other arguments passed to qheat.