Create various plots for GDINA estimates
# S3 method for GDINA
plot(
x,
what = "IRF",
item = "all",
withSE = FALSE,
SE.type = 2,
person = 1,
att.names = NULL,
...
)
model object of class GDINA
type of plot. Can be "IRF"
for item/category response function plot,
or "mp"
for mastery probabilities for individuals.
A scalar or vector specifying the item(s) for IRF plots.
logical; Add error bar (estimate - SE, estimate + SE) to the IRF plots?
How is SE estimated. By default, it's based on OPG using incomplete information.
A scalar or vector specifying the number of individuals for mastery plots.
Optional; a vector for attribute names.
additional arguments
if (FALSE) {
dat <- sim10GDINA$simdat
Q <- sim10GDINA$simQ
mod1 <- GDINA(dat = dat, Q = Q, model = "GDINA")
#plot item response functions for item 10
plot(mod1, item = 10)
plot(mod1, what = "IRF", item = 10,withSE = TRUE)
# plot mastery probabilities for individuals 4 and 10
plot(mod1, what = "mp", person = c(4,10))
plot(mod1, what = "mp", person = c(4,10,15),
att.names = c("addition","subtraction","multiplication"))
}