hildaRhat: Output the maximum potential scale reduction statistic of all...

Description Usage Arguments Value Examples

View source: R/hilda_diagnosis.R

Description

Output the maximum potential scale reduction statistic of all parameters estimated

Usage

1
hildaRhat(jagsOutput)

Arguments

jagsOutput

the output jags file generated by the jags function from the R2jags package.

Value

a number for the Rhat statistic.

Examples

1
2
3
inputFile <- system.file("extdata/hildaLocal.rdata", package="HiLDA")
hildaLocal <- readRDS(inputFile)
hildaRhat(hildaLocal)

HiLDA documentation built on Nov. 8, 2020, 11:09 p.m.