infoPlot {GRShiny} | R Documentation |
Calculate item information
Description
Calculate item information
Usage
infoPlot(
fit,
selected_item,
type = "icc",
theta = seq(-4, 4, 0.1),
base_size = 16,
line_size = 1,
cal_option = "D",
facet = FALSE
)
Arguments
fit |
an object from |
selected_item |
a numeric indicating for what items the function makes plots |
type |
a character indicating the type of plots
|
theta |
a numeric indicating latent traits |
base_size |
a numeric indicating the base font size |
line_size |
a numeric indicating the size of line |
cal_option |
a character indicating the plot colour specified in
|
facet |
a logical. If TRUE, the plot is faceted by items.
(default = |
Details
This makes either item information plots or total information plot
Value
a ggplot
object.
Examples
grm_dt <- genData(eta = genTheta(nsample = 500, nfac = 1),
ipar = genIRTpar(nitem = 10, ncat = 3, nfac = 1))
fit <- runGRM(dat = grm_dt,
lav.syntax = genLavSyn(dat = grm_dt, nfac = 1),
estimator = "WL")
infoPlot(fit, selected_item=1:4, type = "icc", base_size = 16)
[Package GRShiny version 1.0.0 Index]