plot.sum_cmspans: Plot Summary Stats for a Summary of a cmspans Object

Description Usage Arguments See Also

View source: R/cmspans.R

Description

Plots a heat map of summary statistics for sum_cmspans objects (the object produced by calling summary on a cmspans object).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## S3 method for class 'sum_cmspans'
plot(
  x,
  digits = 3,
  sep = ".",
  name.sep = "&",
  values = TRUE,
  high = "red",
  transpose = TRUE,
  plot = TRUE,
  facet.vars = "time",
  rev.codes = !transpose,
  rev.stats = !transpose,
  ...
)

Arguments

x

The sum_cmspans object (the object produced by calling summary on a cmspans object)

digits

The number of digits displayed if values is TRUE.

sep

The character that was used in paste2 to paste the columns.

name.sep

The character that was used to paste the column names.

values

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

high

The color to be used for higher values.

transpose

logical. If TRUE the dataframe is rotated 90 degrees.

plot

logical. If TRUE the plot will automatically plot. The user may wish to set to FALSE for use in knitr, sweave, etc. to add additional plot layers.

facet.vars

A character vector of names to facet by. Default is "time".

rev.codes

logical If TRUE the plotting order of the code groups is reversed.

rev.stats

logical If TRUE the plotting order of the code descriptive statistics is reversed.

...

Other arguments passed to qheat.

See Also

summary.cmspans


trinker/qdap documentation built on Sept. 30, 2020, 6:28 p.m.