ESplot {GRShiny} | R Documentation |
Plot expected scores by items
Description
Plot expected scores by items
Usage
ESplot(
fit,
selected_item,
theta = seq(-4, 4, 0.1),
base_size = 16,
line_size = 1,
cal_option = "D"
)
Arguments
fit |
an object from |
selected_item |
a numeric indicating for what items the function makes 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 color specified in
|
Details
This makes a expected score 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")
ESplot(fit, 1)
[Package GRShiny version 1.0.0 Index]