Learn R Programming

HH (version 3.1-47)

ResizeEtc.likertPlot: Display multiple independent trellis objects, representing likert plots, on the same coordinated scale.

Description

This is a method for ResizeEtc intended for use with "likert" plots that allows positive values on the negative side of the axis.

Usage

# S3 method for likertPlot
ResizeEtc(c.list,
          x,
          x.pl.nonames,
          horizontal,
          ...)

Arguments

c.list

combination of two or more trellis objects from c.trellis. If c.list has names, the names will appear in the strips.

x

List of two-dimensional objects with the same columns. See plot.likert.list for details.

x.pl.nonames

List of "likert" objects corresponding to the items in argument x. The items in x.pl.nonames are unnamed.

horizontal

Standard argument for barchart.

Other arguments to ResizeEtc.

Value

The result is a "trellis" object. It is essentially the same object returned by ResizeEtc with possibly adjusted x tick-labels to put positive labels on the negative axis. If horizontal==FALSE, then the possible adjusted labels are the y tick-labels.

See Also

ResizeEtc, likert.