extract_theta_stan: Extract theta posterior summary from Stan MCMC output

View source: R/tools-mcmc.R

extract_theta_stanR Documentation

Extract theta posterior summary from Stan MCMC output

Description

Extract theta posterior summary from Stan MCMC output

Usage

extract_theta_stan(MCMC.obj, stan.sum, N, D, row_names = NULL)

Arguments

MCMC.obj

Output of rstan::extract().

stan.sum

Output of rstan::summary()$summary.

N

Number of persons.

D

Number of dimensions.

row_names

Row names for the output matrices (typically person IDs).

Value

A list with components est, se, and Rhat.


ForceChoice documentation built on Sept. 13, 2026, 1:06 a.m.