iparPosteriorSample is a function for generating item parameter samples.

iparPosteriorSample(pool, n_sample = 500)

Arguments

pool

an item_pool object.

n_sample

the number of samples to draw.

Value

iparPosteriorSample returns a length-ni list of item parameter matrices, with each matrix having n_sample rows.

Examples

ipar <- iparPosteriorSample(itempool_bayes, 5)