Learn R Programming

ConjointChecks (version 0.2.0)

plot.checks: Plot checks produced by ConjointChecks.

Description

Takes output from ConjointChecks and produces a matplot showing the percentage of reported violations at each cell.

Usage

# S3 method for checks
plot(x,items=NULL,item.labels=TRUE,...)

Value

No return value, called for side effects

Arguments

x

Object returned by ConjointChecks of class checks.

items

Vector of item numbers to include in a single plot. Defaults to all, but this is less helpful for diagnostic purposes.

item.labels

Should item numbers be included? Defaults to TRUE. If length of items is unity (perhaps if the small multiple format of Tufte, 2001 is going to be used), then the item number gets printed below the x-axis. If the length of items is more than unity, the item number gets plotted in the figure above the largest proportion of violations for each item.

...

further arguments passed to or from other methods

References

Tufte, E. R. (2001). The visual display of quantitative information (2nd ed.). Chesire, CT: Graphics Press.

Examples

Run this code
opar <- par()
par(mfrow=c(3,2))
plot(rasch1000)
plot(rasch1000,items=c(5,10,15))
for (i in c(3,9,13,18)) plot(rasch1000,items=i)
par(opar)

Run the code above in your browser using DataLab