Description Usage Arguments Value Examples
View source: R/hilda_diagnosis.R
Compute the Bayes factor
1 | hildaGlobalResult(jagsOutput, pM1 = 0.5)
|
jagsOutput |
the output jags file generated by the jags function from the R2jags package. |
pM1 |
the probability of sampling the null (default: 0.5) |
a number for the Bayes factor
1 2 3 4 | load(system.file("extdata/sample.rdata", package="HiLDA"))
hildaGlobal <- hildaTest(inputG=G, numSig=3, refGroup=1:4, nIter=1000,
localTest=TRUE)
hildaGlobalResult(hildaGlobal)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.