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)

USCbiostats/HiLDA documentation built on Oct. 15, 2021, 10:22 a.m.