calc_rhat: R hat

Description Usage Arguments Value Examples

Description

This function calculates the rhat of each parameter given the list of chains that walkr produces. Since this is just an internal function, I'll document it more later.

Usage

1

Arguments

x

is the list of chains

Value

a vector of rhats

Examples

1
2
x <- matrix(seq(1,12,1), ncol = 3, nrow = 4) 
calc_rhat(list(x,x,x))

walkr documentation built on June 29, 2019, 9:02 a.m.