ESplot {GRShiny} | R Documentation |
Plot expected scores by items
ESplot(
fit,
selected_item,
theta = seq(-4, 4, 0.1),
base_size = 16,
line_size = 1,
cal_option = "D"
)
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
|
This makes a expected score plot
a ggplot
object.
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)