compute_grs: Compute the Gelman-Rubin potential scale reduction factor.

Description Usage Arguments See Also

View source: R/utils_convergence.R

Description

Compute the Gelman-Rubin potential scale reduction factor.

Usage

1
compute_grs(mod1, mod2, param, var, thin = 5)

Arguments

mod1

mHMM_cont model.

mod2

mHMM_cont model.

param

character. name of the variable to plot.

var

numeric. index of the emission distribution.

thin

numeric. thinning interval for the posterior distribution. Defaults to 5.

See Also

Explanation of GRS in gelman.diag.


JasperHG90/sleepsimReval documentation built on May 16, 2020, 2:35 a.m.