plot.restscore.class: Plot restscore.class objects

plot.restscore.classR Documentation

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 (ISRFs); confidence envelopes are optional. Intersections of the lines indicate violations of nonintersection,

Usage

## S3 method for class 'restscore.class'
plot(x, item.pairs = all.pairs, ci = TRUE, alpha = .05, 
              color = c("black", "blue"), transparancy = 20, 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, item.pairs = J prints the results for items 1 and $J$, and item.pairs = J+1 prints the results for items 2 and 3. Default the results for all item pairs are depicted.

ci

Boolean. If TRUE (default), then confidence envelops are plotted around ISRFs.

alpha

Type of plotted (1 - alpha) confidence intervals. By default 95-percent confidence intervals are depicted

color

Color of the plotted lines and confidence envelops. Defaults are black for the first item and blue for the second item.

transparancy

Transparancy of the confidence intervals. Higher values result in more opaque colors for the confidence intervals.

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

Details

For details of the method, see Molenaar and Sijtsma (2000) and Sijtsma and Molenaar (2002). For details of the confidence envelopes, see Van der Ark (2012) For the implementation in R, see Van der Ark (2007). For ask==FALSE, 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.

Value

Returns a graph.

Author(s)

L. A. van der Ark L.A.vanderArk@uva.nl

References

Molenaar, I.W., & Sijtsma, K. (2000) User's Manual MSP5 for Windows [Software manual]. IEC ProGAMMA.

Sijtsma, K., & Molenaar, I. W. (2002) Introduction to nonparametric item response theory. Sage.

Van der Ark, L. A. (2007). Mokken scale analysis in R. Journal of Statistical Software. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v020.i11")}

Van der Ark, L. A. (2014). Visualizing uncertainty of estimated response functions in nonparametric item response theory. In R. E. Millsap, L. A. van der Ark, D. Bolt, & C. M. Woods (Eds.), New developments in quantitative psychology (pp. 59-68). New York: Springer. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/978-1-4614-9348-8_5")}

See Also

check.restscore, summary.restscore.class

Examples

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

mokken documentation built on July 9, 2023, 7:24 p.m.