Adaptive item log accessor.
Value
A tibble of item-level summaries. When stack = FALSE, one row
per item for the selected refit. When stack = TRUE, one row per item
per refit with refit_id identifying source refit.
Details
item_log stores per-item posterior summaries by refit.
The underlying state stores a list of refit tables; this
accessor can return one refit table (default: most recent) or stack all
refits into a single tibble.
Examples
state <- adaptive_rank_start(c("a", "b", "c"), seed = 1)
adaptive_item_log(state)
#> # A tibble: 0 × 13
#> # ℹ 13 variables: refit_id <int>, item_id <chr>, theta_mean <dbl>,
#> # theta_p2.5 <dbl>, theta_p5 <dbl>, theta_p50 <dbl>, theta_p95 <dbl>,
#> # theta_p97.5 <dbl>, theta_sd <dbl>, rank_mean <dbl>, degree <int>,
#> # pos_count_A <int>, pos_count_B <int>