split_rhat_rfun: rstan's split-r-hat implementation in R

View source: R/diagnostics.R

split_rhat_rfunR Documentation

rstan's split-r-hat implementation in R

Description

Compute the split rhat for the diagnostics of converging; see the C++ code of split_potential_scale_reduction in chains.cpp.

Usage

split_rhat_rfun(sims)

Arguments

sims

a 2-d array _without_ warmup samples (# iter * # chains)

Details

Note: The R function wrapping the C++ implementation is defined in chains.R with name rstan_splitrhat2_cpp

Value

a single split-r-hat value.


sakrejda/stannis documentation built on June 25, 2022, 3:19 a.m.