Learn R Programming

GDINA (version 2.0.8)

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 (estimate - SE, estimate + SE) 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,10, errorbar = TRUE)
# }

Run the code above in your browser using DataLab