Learn R Programming

mokken (version 2.4)

plot.restscore.class: Plot restscore.class objects

Description

S3 Method to plot objects of class restscore.class. Graphic display of the checks of restscore. One graph for each item pair plotting the estimated item step response functions. Intersection of the lines indicates vaiolation of nonintersection,

Usage

## S3 method for class 'restscore.class':
plot(x, item.pairs = all, ask = TRUE, ...)

Arguments

x
Object of class restscore.class produced by check.restscore.
item.pairs
vector containing the numbers of the item pairs for which the results are depicted graphically. For example, item.pairs = 1 prints the results for items 1 and 2, item.pairs = 2 prints the results for items 1 and 3,
ask
Boolean. If TRUE (default), then par("ask"=TRUE); i.e., a hard return between subsequent plots is required. If FALSE, then par("ask"=FALSE).
...
Optional graphical parameters will be ignored

Value

  • Returns a graph.

Details

The default graphic device in R may only display the last graph. The default number of plots can increase rapidly for large numbers of items.

References

Molenaar, I.W. and Sijtsma, K. (2000) User's Manual MSP5 for Windows [Software manual]. Groningen, The Netherlands: IEC ProGAMMA. Sijtsma, K, and Molenaar, I. W. (2002) Introduction to nonparametric item response theory. Thousand Oaks, CA: Sage. Van der Ark, L. A. (2007). Mokken scale analysis in R. Journal of Statistical Software. http://www.jstatsoft.org

See Also

check.restscore, summary.restscore.class

Examples

Run this code
data(acl)
Communality <- acl[,1:10]
restscore.list <- check.restscore(Communality)
plot(restscore.list)
summary(restscore.list)

Run the code above in your browser using DataLab