Learn R Programming

qdap (version 2.3.0)

plot.question_type: Plots a question_type Object

Description

Plots a question_type object.

Usage

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

Arguments

x

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