score_tirt_stan: Run Stan TIRT Model and Extract Formatted Scores

View source: R/score_tirt_stan.R

score_tirt_stanR Documentation

Run Stan TIRT Model and Extract Formatted Scores

Description

Run Stan TIRT Model and Extract Formatted Scores

Usage

score_tirt_stan(
  stan_data,
  chains = 4,
  parallel_chains = 4,
  threads_per_chain = 2,
  iter_warmup = 1000,
  iter_sampling = 1000,
  init = 0
)

Arguments

stan_data

The data list generated by prepare_tirt_stan_data().

chains

Integer. Number of MCMC chains. Defaults to 4.

parallel_chains

Integer. How many chains to run simultaneously. Defaults to 4.

threads_per_chain

Integer. CPU threads allocated INSIDE each chain. Defaults to 2.

iter_warmup

Integer. Warmup iterations. Defaults to 1000.

iter_sampling

Integer. Sampling iterations. Defaults to 1000.

init

Same as the init parameter in rstan.

Value

A list containing scores (Data frame of traits) and fit (The cmdstanr fit object).


autoFC documentation built on July 14, 2026, 5:07 p.m.