Learn R Programming

GDINA (version 1.4.2)

plotIRF: Plot item success probability

Description

Create plots of item/category success probability for each latent group

Usage

plotIRF(object, item, errorbar = FALSE, ...)

Arguments

object
model object of class GDINA or dif
item
a vector specifying which item(s) the plots are drawn for
errorbar
add error bar to the plot?
...
additional arguments

See Also

GDINA, autoGDINA, dif

Examples

Run this code
## Not run: ------------------------------------
# dat <- sim10GDINA$simdat
# Q <- sim10GDINA$simQ
# mod1 <- GDINA(dat = dat, Q = Q, model = "GDINA")
# #plot item response functions for item 10
# plotIRF(mod1,10)
# plotIRF(mod1,9, errorbar = TRUE)
## ---------------------------------------------

Run the code above in your browser using DataLab