S3 Method to plot
objects of class monotonicity.class.
Graphic display of the checks of monotonicity.
One graph for each item plotting the estimated item step response functions and/or item response function, plus confidence envelopes (Van der Ark, 2012).
# S3 method for monotonicity.class
plot(x, items = all.items, curves = "both", ci = TRUE,
alpha = .05, color = "black", transparancy = 20, ask = TRUE, ...)
Object of class monotonicity.class produced by check.monotonicity
.
vector containing the numbers of the items for which the results are depicted graphically. Default the results for all items are depicted.
"ISRF"
: Item step response functions (ISRFs) are depicted; "IRF"
: item response functions (IRFs) are depicted;
"both"
: Both ISRFs and IRFs are depicted. Default is "both"
Boolean. If TRUE
(default), then confidence envelops are plotted around IRFs and ISRFs.
Type of plotted (1 - alpha) confidence intervals. By default 95-percent confidence intervals are depicted
Color of the plotted curves and confidence envelops. Default is black.
Transparancy of the confidence intervals. Higher values result in more opaque colors for the confidence intervals.
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
Returns a graph.
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 curves=="both"
, both plots are plotted simultaneously using layout(matrix(c(1,2)1,2))
.
For ask=="FALSE"
, the default graphic device in R may only display the last graph.
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. https://www.jstatsoft.org/article/view/v020i11
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. https://doi.org/10.1007/978-1-4614-9348-8_5
# NOT RUN {
data(acl)
Communality <- acl[,1:10]
monotonicity.list <- check.monotonicity(Communality)
plot(monotonicity.list)
summary(monotonicity.list)
# }
Run the code above in your browser using DataLab