print_irt_stan {edstan} | R Documentation |
View a table of selected parameter posteriors after using irt_stan
Description
View a table of selected parameter posteriors after using irt_stan
Usage
print_irt_stan(fit, data_list = NULL, ...)
Arguments
fit |
A |
data_list |
An optional Stan data list created with
|
... |
Additional options passed to |
Examples
# Make a suitable data list:
spelling_list <- irt_data(response_matrix = spelling[, 2:5],
covariates = spelling[, "male", drop = FALSE],
formula = ~ 1 + male)
## Not run:
# Fit a latent regression 2PL
twopl_fit <- irt_stan(spelling_list, model = "2pl_latent_reg.stan",
iter = 300, chains = 4)
# Get a table of parameter posteriors
print_irt_stan(twopl_fit, spelling_list)
# Or
print_irt_stan(twopl_fit)
## End(Not run)
[Package edstan version 1.0.6 Index]