Item Response Curve for RTMB_Fit_Base
Source:R/methods_post_estimation.R
item_curve.RTMB_Fit_Base.RdItem Response Curve for RTMB_Fit_Base
Usage
# S3 method for class 'RTMB_Fit_Base'
item_curve(x, theta_seq = seq(-4, 4, length.out = 100), items = NULL, ...)Examples
# \donttest{
fit <- rtmb_irt(data = BigFive[, 1:5], model = "2PL", type = "ordered")
#> Pre-checking model code...
#> Checking RTMB setup...
map_fit <- fit$optimize()
#> Starting RTMB optimization...
#>
ic <- item_curve(map_fit)
plot(ic)
# }