BayesInf.Rd
Function for performing Bayesian inference using rjags
BayesInf(tot, y, X, C, cl, K, eps = 0.001, modelFilePath = NA)
Total sample size
Response
Treatment labels
Number of clusters
Cluster label for each individual
Number of MCMC samples
Analysis Gamma prior parameters
Relative path to JAGS model file
MCMC samples