ip_plot | R Documentation |
Item Response Theory Plotting
ip_plot(
x,
theta,
b,
groups = rep(1, length(theta)),
tests = rep(1, length(b)),
type = "density"
)
irf_plot(x, ip = x$ip, theta = seq(-4, 4, length = 100))
tef_plot(x, ip = x$ip, theta = seq(-4, 4, length = 100))
x |
irtstudy output. |
theta |
vector of theta values, taken by default from |
b |
vector of item location parameters, taken by default from
|
groups |
vector defining person groups, defaulting to one group. |
tests |
vector defining tests, i.e., item groups, defaulting to one. |
type |
type of plot generated by |
ip |
data frame of item parameters, taken from |
Functions for plotting results from item response theory models.
ritems <- c("r414q02", "r414q11", "r414q06", "r414q09",
"r452q03", "r452q04", "r452q06", "r452q07", "r458q01",
"r458q07", "r458q04")
rsitems <- paste0(ritems, "s")
pisagbr <- PISA09[PISA09$cnt == "GBR", rsitems]
irtgbr <- irtstudy(pisagbr)
# Item person map
print(ip_plot(irtgbr))
# Item response functions
print(irf_plot(irtgbr))
# Test response functions
print(tef_plot(irtgbr))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.