hildaGlobalResult {HiLDA}R Documentation

Compute the Bayes factor

Description

Compute the Bayes factor

Usage

hildaGlobalResult(jagsOutput, pM1 = 0.5)

Arguments

jagsOutput

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

pM1

the probability of sampling the null (default: 0.5)

Value

a number for the Bayes factor

Examples


load(system.file("extdata/sample.rdata", package="HiLDA"))
hildaGlobal <- hildaTest(inputG=G, numSig=3, refGroup=1:4, nIter=1000,
localTest=TRUE)
hildaGlobalResult(hildaGlobal)


[Package HiLDA version 1.6.0 Index]